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
 fitting 2 different curves
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

birgit_s

Austria
2 Posts

Posted - 03/22/2018 :  09:20:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
I am trying to fit my impedance sprecta (Z and tan(phi) vs. angular frequency with these 2 equations simultaneously, but it doesn't work:
Z=Rs+(Rp/(1+(w*Cp*Rp)^2))-((w*Cp*Rp*Rp)/(1+(w*Cp*Rp)^2));
tan(phi)=-((w*Cp*Rp*Rp)/(Rs*(1+(w*Cp*Rp)^2)+Rp));

Cp, Rp, and Rs should be found at the same time and should have the SAME value!
Each equation alone works quite well, but my paramters don't have the same values, as they should have. and if I try to fit it simultaneously it doesn't work anymore.

Do you have an idea, how it works?
Thanks,
Birgit




BS

arstern

USA
237 Posts

Posted - 03/22/2018 :  12:34:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Birgit,

When creating the nonlinear fit equation did you first select Equations under Function Type -> Select Next
Then setup the parameters, variables, and equations as seen in the pictures below? If not, you may want to try this.
OriginLab



If the above is not helpful, please send your project file and .fdf files (user defined nonlinear fit files) to tech@originlab.com. You can find your .fdf files at \Documents\Documents\OriginLab\User Files\fitfunc


Thanks,
Aviel
Go to Top of Page

birgit_s

Austria
2 Posts

Posted - 03/23/2018 :  09:31:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
thank you for the fast reply :)
Now I have a new problem with the data selection:


Why is there an imaginary part in field 1, which is obviously the real part and vice versa? Or have I made a big mistake???

Thanks,
Birgit

BS
Go to Top of Page

arstern

USA
237 Posts

Posted - 03/23/2018 :  10:18:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

With the dropdown menu you can select the correct dataset with the corresponding variables. The dialog automatically chooses the corresponding dataset by how your worksheet is organized. i.e. I am guessing that Real is listed before Imaginary in the worksheet.

Aviel
OriginLab
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