help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fit data - trendline through zero


From: ldoolitt
Subject: Re: fit data - trendline through zero
Date: Tue, 15 Dec 1998 12:38:05 -0500 (EST)

Marcel -
 
> I use polyfit to find the trendline in my data. How can I force it to go
> through zero ?

Divide your data by x before fitting.  Think about it.

On a related note, I have a hacked polyfit (polyweightfit) that
accepts weighting factors for each point.  If that sounds generally
interesting, I can post or submit it.

     - Larry Doolittle   address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]