Discover MakerZone

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

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!

Problem 2259. Best Fit RMS

Created by Swapnali Gujar

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

Example

 x = [1:10]
 y = [2 7 3 5 9 11 1 6 2 0]
 bestfit_RMS = 3.3379

Tags

Problem Group

Solution Statistics

19 correct solutions 48 incorrect solutions
Last solution submitted on Apr 18, 2016

Problem Comments

Solution Comments