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
 Fitting only with imaginary coefficient

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/29/2014 : 04:05:04 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:
The equation is given as follows.
y = y1 + i * y2 = A/[ 1 + (ixt)^a ]
I only have :
colA = x (independent variable)
ColB = y2 (dependent variable)

If I have ColC = y1 (dependent variable), I could fit the data with the complex function. But this one is beyond my capability.
Any help.....?

Thanks for your help.

1   L A T E S T    R E P L I E S    (Newest First)
SeanMao Posted - 03/31/2014 : 06:08:29 AM
Hi,
It is possible if all the fitting parameters are independent.
We can use Non-Linear fiting (NLfit) tool to fit only the imaginary part to obtain parameter A, t, a. To do that, first you need to create a new fitting function in the “Fitting Function Builder” dialog. Select “Tools:Fitting Function Builder” menu and the dialog box will be brought up. Please follow these steps to define the fitting function:
1. Click “Next” to create a new function.
2. Input function name and choose “Function Type” as Origin C. Click “Next”.
3. Input Independent Variables as “x”, Dependent Variables as “y”, Prameter names as “A0,t,a”. Click “Next”.
4. Paste the following codes into “Function Body” box:
complex f=A0/(1+(1i*x*t)^a);
y=f.m_im;
To make sure our define function is correct, you have to click on the Origin C editor icon on the top right corner of “Function Body” box to compile it. Click on the “Compile” and close “Code Builder” dialog.
Click “Finish” to save the fitting function and close the dialog.
Then you can use the defined fitting function to do non-linear fitting.,
Select “Analysis:Fitting:Nonlinear Curve Fit:Open dialog” menu to bring up the NLFit dialog box. In the “Function Selection” part, choose “User Defined” in “Category” drop-down list, and choose the function you defined under“Function” list as shown in figure below:


More details about NLfit tool can be found through the link below:
http://www.originlab.com/doc/Tutorials/Fitting-NLFit-Basic
Regards!
Sean
OriginLab Technical Services

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