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
 Replace part of user defined function with letter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rainbowkoala

29 Posts

Posted - 03/31/2014 :  05:18:13 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.


Edited by - rainbowkoala on 03/31/2014 05:19:08 AM

SeanMao

China
288 Posts

Posted - 03/31/2014 :  06:13:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

rainbowkoala

29 Posts

Posted - 03/31/2014 :  10:43:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Sean,
Thank you for the response. I got it.
It works!

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