visualdatatools.com Forum Index visualdatatools.com
Discussion for DataTank and DataGraph
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

function fit- setting zero as starting point

 
Post new topic   Reply to topic    visualdatatools.com Forum Index -> Getting Started
View previous topic :: View next topic  
Author Message
kradmelder



Joined: 06 Jan 2007
Posts: 2
Location: Aachen, Germany

PostPosted: Fri Oct 19, 2007 12:43 pm    Post subject: function fit- setting zero as starting point Reply with quote

Hi,

I am doing a linear fit with some data that, according to the laws of physics, should start at x=0,f(x)=0. So the function should be something like f(x)=a*x. Is there a way to do that?

Cheers from Germany

Stephan

P.S.
I did not get to use your software much since I registered, but I really like it. It does not just work, it suprises with those little things one never thought of that make work easier and more fun. Thanks.
Back to top
View user's profile Send private message
David
Site Admin


Joined: 25 Nov 2006
Posts: 1542
Location: Chapel Hill, NC

PostPosted: Fri Oct 19, 2007 10:51 pm    Post subject: Reply with quote

Thanks.

There are two ways of doing the fit you want.

Specify the "Sum" fit and only type in "x". That will only use that function for the fit. So if you want an odd polynomial of degree 5, you could specify x,x^3,x^5. If it should be odd around 1, use (x-1),(x-1)^3,(x-1)^5 etc.

Another way is to use the arbitrary function fit, where you just type in the function "a*x" directly. "a" becomes a fitting parameter (unless you specify it as a variable). That gives you more flexibility.


David
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    visualdatatools.com Forum Index -> Getting Started All times are GMT - 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group