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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 too long formula...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

badaire

France
1 Posts

Posted - 12/06/2002 :  05:17:19 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
hi everybody,
i'm using origin 6.1 SR4 and want to use my own non-linear curve fit. The problem is that the formula i want to use is too long...
so, i use the following y-script : run.section(myfit,fitsection);
and then i write 'myscript' in the labtalk editor.
But the formula is so long, that one line is not enough to write it totally...and then when i try to fit with this script, origin crashes.
Is there a solution to my problem??
thanks

easwar

USA
1965 Posts

Posted - 12/06/2002 :  4:08:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Have you tried breaking up your formula into multiple lines of script by using temporary variables, such as below?

temp1=some part of your formula
temp2=some other part
y = function of temp1 and temp2

You could then try this right in the edit window of NLSF.

Easwar
OriginLab.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000