Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Find best-fit line using matrix-vector

  1. Jun 9, 2012 #1

    sharks

    User Avatar
    Gold Member

    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.
     
  2. jcsd
  3. Jun 10, 2012 #2

    sharks

    User Avatar
    Gold Member

    Nevermind, i figured it out.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook