least square fit.
Show older comments
Hi, Please I need help solving and plotting this regression in matrix form using Matlab. Thanks a lot

1 Comment
Abraham Kaz
on 25 Feb 2018
Answers (1)
Matt J
on 25 Feb 2018
v=A\z
5 Comments
Abraham Kaz
on 25 Feb 2018
Matt J
on 25 Feb 2018
No, I wrote v=A\z. It will do exactly what you request.
Abraham Kaz
on 25 Feb 2018
Edited: Abraham Kaz
on 25 Feb 2018
Star Strider
on 25 Feb 2018
mldivide,\ (link)
Matt J
on 25 Feb 2018
At the command prompt, simply enter v=A\z
Categories
Find more on Regression 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!