T O P I C R E V I E W |
ghorycon |
Posted - 02/24/2012 : 02:49:12 AM Origin Ver. : 7.5 Operating System:win XP Hello, i'm very new to origin and am having a few troubles. I tried the following funciton Parameters: y0,xc, w, A Indep var: x Dep var: y Function code: y = y0 + 4*A*exp(-z)/(1+exp(-z))^2 z = (x-xc)/w After compiling,the error is shown by "Variable "z" not declared". I want to know how to declare the Variable "z".? Please advice!!! Really need the help!!!
|
2 L A T E S T R E P L I E S (Newest First) |
ghorycon |
Posted - 02/25/2012 : 7:49:32 PM Hi Easwar, It works now successfully ! Thank you very much for your attention!
|
easwar |
Posted - 02/24/2012 : 10:58:15 AM Hi,
Try changing to:
double z = (x-xc)/w; y = y0 + 4*A*exp(-z)/(1+exp(-z))^2;
Easwar OriginLab
|
|
|