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

104 Solutions

24 Solvers

Last Solution submitted on May 28, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers24

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!