How can i fit complex data to a model of a RLC circuit?

6 vues (au cours des 30 derniers jours)
André Steibel
André Steibel le 29 Avr 2020
I'm trying to fit x data for frequency and y data for impedance (complex values) and I have done a model of a RLC circuit with the equation and i have to find the parameters (vector p) that best fit this equation to the data I have.
I have already used funcions like vpasolve, fminsearch, particleswarm, fitnlm and simulannealbnd but all of them were without succes.
  2 commentaires
darova
darova le 29 Avr 2020
Did you try fit?
Alex Sha
Alex Sha le 30 Avr 2020
Hi, Andre, post out your data please.

Connectez-vous pour commenter.

Réponses (1)

Lorenzo
Lorenzo le 28 Jan 2023
Hello André,
If I understand it correctly you want to find the parameters p, so that your model answer is similar to a measured data?
If that is the case, it sounds like a use-case for Simulink Design Optimization. Here you find an example for a parameter estimation of a DC-motor.
Best,
Lorenzo

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by