fitting difficulty

Just about everything about Red Pitaya
Post Reply
Wallflower
Posts: 1
Joined: Tue Sep 08, 2020 12:57 pm

fitting difficulty

Post by Wallflower » Tue Sep 08, 2020 1:00 pm

Hello everyone,

I am have a difficulty to fit a function :| .

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 starting points. 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 an 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)?

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 31 guests