Given a set of data as x and y, find the RMS value between the data and its best fit curve from a first degree polynomial
x = [1:10] y = [2 7 3 5 9 11 1 6 2 0]
bestfit_RMS = 3.3379
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more