find least squares parameters
Show older comments
Hi,
please, how can i find the least squares parameters of the straight that best fits is (0,3),(2,1),(3,-1)and(5,-2) in matlab
Answers (1)
John D'Errico
on 27 Jun 2020
0 votes
Did you try polyfit? If not, then do so.
Categories
Find more on Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!