Find best-fit line using matrix-vector

  • Thread starter Thread starter DryRun
  • Start date Start date
  • Tags Tags
    Line
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.
 

Similar threads

Replies
2
Views
3K
Replies
1
Views
2K
Replies
4
Views
5K
Replies
13
Views
3K
Replies
2
Views
1K
Back
Top