MATLAB - Numerical Methods
What is the output of the following MATLAB code?
x = [1 2 3 4]; y = [2 4 6 8]; p = polyfit(x, y, 1); disp(p);
x = [1 2 3 4]; y = [2 4 6 8]; p = polyfit(x, y, 1); disp(p);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions