The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Initialization of parameters in user defined funct

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bpbag Posted - 12/02/2010 : 08:22:44 AM
Hi,
I am unable to fit the non-linear curve with a user defined function. It is not initializing at all? Do I require any initialization of parameters? and How?
The function is
y=(a*(h+x+1/k)-sqrt((a^2)*(h+x+1/k)^2-4*h*x*a^2))/2
where X is the independent variable, Y is the dependent variable and a,h,k are the parameters.
1   L A T E S T    R E P L I E S    (Newest First)
Shirley_GZ Posted - 12/02/2010 : 10:04:00 PM
Hi bpbag,

Yes, you need to initialize your parameters when you do fitting with a user-defined function. But if you create a new function in Fitting Function Builder in Origin 8.5, Origin will set the initial values of all parameters as "1" by defualt.

More details, please refer to parameter initialization.

Shirley

Originlab Technical Service Team

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000