Plotting Least Squares Regression

Ciaran Mooney general.mooney at googlemail.com
Fri Dec 7 19:04:39 CST 2007


Evening,

I've gotten a bit further with my problem. I have found a forum post
[http://forum.mandriva.com/viewtopic.php?t=17602&highlight=&sid=ad0cf06d91bca350253fe355201262ae]
that seems to detail what I want to do.

I have successfully plotted a graph, and a line of best fit, that to
me looks alright.

When I type "p" at the prompt to find out what "polyfit(x,y)" has
given me I get two values, in the equation y=mx+c, are these values m
and c??

Regards,

Ciarán



More information about the Help-octave mailing list