Hi all, I plot Phase. Can any one suggest to plot ...
# sky130
a
Hi all, I plot Phase. Can any one suggest to plot Magnitude ? What code i need to write in ngspice @Stefan Schippers
a
Did you try "plot v(vout)"?
l
plot db(vout)
s
@ALOK PRATAP SINGH ngspice saves ac vectors as complex values (real and imaginary parts) The
db(out)
function as @Luis Henrique Rodovalho said calculates
20 *log10(mag(out))
, where
mag()
calculates the (euclidean) magnitude of the complex vector