×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Fitting complex functions with real fitting parameters

Fitting complex functions with real fitting parameters

Fitting complex functions with real fitting parameters

(OP)
Hi All:

I have a problem which should be easy to solve, however I cannot manage to do it.

I am trying for the first time to fit complex impedance data with equivalent circuits using mathcad programs like Complex_Fit.mcd, or Least_Squared_Error.mcd. The fitting procedure itself works, however I always obtain complex fitting parameters which does not make sense, e.g. an Ohmic resistance should always be real. I defined the guess values as reals, e.g. R=30+i*0, but the ouput is still complex. Any suggestions how to avoid complex solutions?

RE: Fitting complex functions with real fitting parameters

It sounds like you have to accept that the real world is complex!

Apart from being a good pun, it means that real world impedances are complex and if you get complex solutions, you have to use them.

RE: Fitting complex functions with real fitting parameters

A real number e.g. 5 ohm can be represented as 5+0*J
In reality small R-s have +,large - immaginary component.

Complex result in case of real date may be due to
calculation/rounding errors.

<nbucska@pcperipherals DOT com> subj: eng-tips
read FAQ240-1032

RE: Fitting complex functions with real fitting parameters

Additionally, in Mathcad, you should be able to add constraints to force R to be real.

TTFN

RE: Fitting complex functions with real fitting parameters

For a sanity check, calculate the angle -- it may be negligeable.

<nbucska@pcperipherals DOT com> subj: eng-tips
read FAQ240-1032

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources