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

6 views (last 30 days)
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.

Answers (1)

Lorenzo
Lorenzo on 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!