MATLAB - Numerical Methods
What is the output of the following MATLAB code?
p = [1 -6 11 -6];
r = roots(p);
disp(sort(r'));
p = [1 -6 11 -6];
r = roots(p);
disp(sort(r'));
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions