Find best-fit line using matrix-vector

  • Thread starter Thread starter DryRun
  • Start date Start date
  • Tags Tags
    Line
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
DryRun
Gold Member
Messages
837
Reaction score
4
I am learning how to use MATLAB and have this problem:
Find the best-fit line of the y= mx + c form. Use matrix-vector formulation. And i am given a table of x-y values.

I have no idea how to proceed. Any help is welcome.
 
Physics news on Phys.org
Nevermind, i figured it out.