T O P I C R E V I E W |
nbo10 |
Posted - 01/07/2009 : 10:24:16 AM Origin Ver. 8 and SR (Select Help-->About Origin): Operating System: xp
Hi, I'm trying to fit a curve with two Voigt functions. I've tried copying the built in Voigt function into a user function but it doesn't compile. Can anyone offer some help. |
2 L A T E S T R E P L I E S (Newest First) |
larry_lan |
Posted - 01/08/2009 : 09:48:39 AM If you look into the function defination, you can see there is a "integ", which means integration here. However, "integ" is not a built-in function, and that's why you failed to compile it if you just copy+paste the function body.
Fitting with integration is somewhat complicated for user defined functions. Maybe you can read this first. |
VincentLiu |
Posted - 01/08/2009 : 04:43:25 AM Hi John,
Compared to the user-defined functions, the Built-in functions in Origin 8 are using a different mechanism. So we suggest you to use the fitting function directly or if you want to access the built-in function in other function, you may follow the instructions below:
http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:How_to_quote_a_built-in_function_when_defining_a_user-defined_function
If this cannot solve the problem, please state your questions with more details. You may send it through
http://www.originlab.com/www/company/qform.aspx?s=1& Best regards, Vincent Liu OriginLab Technical Services
|
|
|