f



Best fit line?

Hi. Is there a function to calculate/plot the best fit line
given a few (approx 3) points? I don't have any toolboxes,
nor can I afford any. 

Can any function in the basic matlab application do this?

Thanks!

0
7/5/2008 4:54:02 PM
comp.soft-sys.matlab 211265 articles. 25 followers. lunamoonmoon (257) is leader. Post Follow

2 Replies
392 Views

Similar Articles

[PageSpeed] 19

"Amir " <amirschricker.DELETE@DELETE.gmail.DELETE.com> wrote in message 
<g4o8va$aa7$1@fred.mathworks.com>...
> Hi. Is there a function to calculate/plot the best fit line
> given a few (approx 3) points? I don't have any toolboxes,
> nor can I afford any. 
> 
> Can any function in the basic matlab application do this?

Yes.

help polyfit

John
0
woodchips (7944)
7/5/2008 5:19:02 PM
Perfect, thanks!


"John D'Errico" <woodchips@rochester.rr.com> wrote in
message <g4oae6$jln$1@fred.mathworks.com>...
> "Amir " <amirschricker.DELETE@DELETE.gmail.DELETE.com>
wrote in message 
> <g4o8va$aa7$1@fred.mathworks.com>...
> > Hi. Is there a function to calculate/plot the best fit line
> > given a few (approx 3) points? I don't have any toolboxes,
> > nor can I afford any. 
> > 
> > Can any function in the basic matlab application do this?
> 
> Yes.
> 
> help polyfit
> 
> John

0
7/5/2008 6:29:02 PM
Reply: