From: Giulio Maestrini Date: Wed, 16 Nov 2022 19:41:07 +0000 (+0100) Subject: ENG X-Git-Url: https://git.devmsg.it/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2eb854b7d7a7d4ffeb9474ccb2f93ac58f093d9;p=giulio%2F.git ENG --- diff --git a/complex_impedance/partitore.gnuplot b/complex_impedance/partitore.gnuplot index dee314e..a0a8c69 100644 --- a/complex_impedance/partitore.gnuplot +++ b/complex_impedance/partitore.gnuplot @@ -1,5 +1,5 @@ # Gnuplot script to fit an plot complex impedence -# gnuplot -c "partitore.gnuplot" +# use: gnuplot -c "partitore.gnuplot" set terminal svg size 1200,5000 mouse jsdir "https://devmsg.addns.org/public/pickup/gnuplot_js/" set output 'partitore.svg' @@ -11,9 +11,9 @@ rad(deg) = deg * pi / 180.0 deg(rad) = arg (rad) * 180.0 / pi z(real,imag) = real + i * imag -# modello impedenza (LC parallelo) +# impedance model z(x) = (1/(rs + i*w(x)*l) + (i*w(x)*cp))**-1 -# rapporto V2/V1 del partitore +# V2/V1 ratio from the voltage divider t(x) = r / ( r + z(x)) set xrange [20:101000] @@ -38,7 +38,6 @@ rs = 5810 cp = 1e-10 l = 2 - set multiplot layout 5,1 title titolo in = "single_coil.txt"