Optimization of transfer function

This is my transfer function
y = (2*C_p*s + G_p*R_w + C_p*R_w*s)/(2*C_p*s) - ((R_w/2 + (L*(2*C_p*s + G_p*R_w + C_p*R_w*s))/(2*C_p*(C*L*s^2 + G*L*s + 1)))*(G1_p + C1_p*s))/(C1_p*s)
I need to optimise this function with the data.
I have Data in Freq vs magnitude and freq vs phase
it would be helpful if some one can help me on how it can be done

2 Comments

What do you mean by "optimize" for this purpose?
I need to find R_w L C G C_p G_p C1_p G1_p these parameter values using least square or genetic optimization method

Sign in to comment.

Answers (1)

Hi,
There are two realtively easy ways to obtain those parameters' estimate values.
(1) Using system identification toolbox fcns: upload your data to the toolbox and specificy your TF order
(2) The inverse frequency response: using invfreqs().

1 Comment

Thank you for your answer.
But i am trying to do it as a matlab code not using solvers.

Sign in to comment.

Categories

Products

Release

R2021b

Asked:

on 21 Feb 2022

Commented:

on 21 Feb 2022

Community Treasure Hunt

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

Start Hunting!