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
 Origin Forum
 How to define piecewise function by Y-script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

weitong

China
Posts

Posted - 03/14/2008 :  12:59:51 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version Origin7.5SR0
Operating System:Windows XP

I am trying to use the Nonlinear curve fit-Advanced fitting tools to simulate one formula (function). I am writting the formula by Y-script. The formula has two different forms depending on the parameters. The question is : Is there "If...else..." function being used in Y-script? How?

Thanks.

larry_lan

China
Posts

Posted - 03/17/2008 :  05:31:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe this link can help. It's an Origin C function, however, you can define Y-Script like that.

Thanks
Larry
OriginLab Technical Services

Edited by - larry_lan on 03/17/2008 05:31:54 AM
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