Problem 2259. Best Fit RMS

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

Solution Stats

28.36% Correct | 71.64% Incorrect
Last solution submitted on Apr 18, 2016

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!