Hello,
I have been struggling with this for quite some time now. I would really appreciate some help if possible.
I have a frequency dependent function of this form : Z=R1+(1./((1./(s*L1))+(1./(R2+(1./((1./(s*L2)+(1./(R3+(1./((1./(s*L3)+(1/R4))))))))))))) with s = 1j*f*2*pi and f =1e6:1e6:4.99e9. Where all the parameters (R_i, L_i) are set to one (=1) as a strating point. I also have a scatter plot Z_measured of the same length of Z and defined over the same frequency range f.
My question is: how can I run a MATLAB optimization script that will minimize the difference between Z(f) and Z_measured(f) by selecting the values of the parameters (R_i,L_i) that minimize the difference abs(Z)-abs(Z_measured)?
Thanks in advance!
Wallflower

 採用された回答

Hiro Yoshino
Hiro Yoshino 2020 年 9 月 8 日

0 投票

You should use Optimization toolbox or Global optimization toolbox:
Looks like the problem based approach would be a good fit for you.

4 件のコメント

wallflower
wallflower 2020 年 9 月 8 日
Thank you so much for your response Hero!
Matteo Cingolani
Matteo Cingolani 2020 年 11 月 19 日
did u find the answer to this ? i'm trying to apply the optimization to a similar problem.
Thank u in advance
Matteo
wallflower
wallflower 2020 年 11 月 19 日
編集済み: wallflower 2020 年 11 月 19 日
No, I unfortunately did not...
wallflower
wallflower 2020 年 11 月 19 日
Maybe we can work together on this one if you want?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by