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
 Replace part of user defined function with letter

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
rainbowkoala Posted - 03/31/2014 : 05:18:13 AM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.5.0 SR1
Operating System: win7
Hello,
I hope you can help me with the following problem:
In nonlinear fitting, my user defined function is complicated. When I replace part of the user defined function with a letter, the user defined function will be concise. For example, an equation is given as follows.
y=a*sin(d*atan((x*b)^c*cos(3.14/(2*(1-c)))
ind. variables: x
dep. variable: y
parameters: a,b,c,d
When I replace "atan((x*b)^c*cos(3.14/(2*(1-c))" with a letter A , the user defined function will be concise as y=a*sin(d*A).
How can I replace part of the user defined function with a letter?

I just tried in Fitting Function Organizer. It did not work.
please find more details in the insert image.

Thanks for your help.

2   L A T E S T    R E P L I E S    (Newest First)
rainbowkoala Posted - 03/31/2014 : 10:43:18 AM
Hi Sean,
Thank you for the response. I got it.
It works!

SeanMao Posted - 03/31/2014 : 06:13:31 AM
Hi,
You certainly can do that. However, before you can use A as the replacement, you have to define A as a function and then define your y in terms of A. It is shown in the figure below how you can do that:



Regards!

Sean

OriginLab Tech Service

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