find least squares parameters

1 次查看(过去 30 天)
mostafa hager
mostafa hager 2020-6-26
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

回答(1 个)

John D'Errico
John D'Errico 2020-6-27
Did you try polyfit? If not, then do so.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by