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

Learn moreOpportunities for recent engineering grads.

Apply TodayGiven 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

15 correct solutions
42 incorrect solutions

Last solution submitted on Jan 06, 2015

1 Comment

Niels
on 5 May 2014

Rounding gives me serious trouble on this test. I have tried a variety of methods that all "appear" to return the correct answer, however the assertion fails.

1 Comment

Ziko
on 3 Apr 2014

can anyone tell me why this isnt working? i rounded to pass one test#.I understand this is a problem. But what else am i missing? precision problem? thanks

4 Comments