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

Solution Stats

103 Solutions

23 Solvers

Last Solution submitted on Nov 28, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers23

Suggested Problems

More from this Author25

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!