Results 1 to 4 of 4

Math Help - Matlab line of best fit

  1. #1
    Senior Member
    Joined
    Oct 2008
    Posts
    393

    Matlab line of best fit

    How do i do the line of best fit in matlab?

    Thanks Ad
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by adam_leeds View Post
    How do i do the line of best fit in matlab?

    Thanks Ad
    I think we need to know more, and ask if you have searched the Matlab help system?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Quote Originally Posted by CaptainBlack View Post
    I think we need to know more, and ask if you have searched the Matlab help system?
    Yes i have, it's not really useful

    I've got a load of numbers say about 400. Which i've sorted into size order.

    Against

    x=[1:1:400]
    then x/400
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by adam_leeds View Post
    Yes i have, it's not really useful

    I've got a load of numbers say about 400. Which i've sorted into size order.

    Against

    x=[1:1:400]
    then x/400
    Well the equations for a regression line are given >>here<< (but note that in (C) the y and x have lines over them to denote the means, they are just not obvious)

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: November 4th 2011, 07:42 PM
  2. Replies: 1
    Last Post: March 18th 2011, 11:36 AM
  3. MATLAB: GUI text edit mutli-line database insert
    Posted in the Math Software Forum
    Replies: 0
    Last Post: June 2nd 2010, 10:12 AM
  4. Replies: 0
    Last Post: October 22nd 2009, 12:04 PM
  5. Replies: 4
    Last Post: March 17th 2008, 02:53 PM

Search Tags


/mathhelpforum @mathhelpforum