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

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 comentarios

darova
darova el 29 de Abr. de 2020
Did you try fit?
Alex Sha
Alex Sha el 30 de Abr. de 2020
Hi, Andre, post out your data please.

Iniciar sesión para comentar.

Respuestas (1)

Lorenzo
Lorenzo el 28 de En. de 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

Preguntada:

el 29 de Abr. de 2020

Respondida:

el 28 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by