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
 How to define piecewise function by Y-script

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
weitong Posted - 03/14/2008 : 12:59:51 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 03/17/2008 : 05:31:01 AM
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

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