Plot passivity of S-parameters object
passivity( plots the passivity of
s over a range of frequencies specified in
s.Frequencies. Passivity is measured by the two-norm of the
frequency-dependent transfer function H(f).
Plot Passivity of S-Parameters
Read the file,
S = sparameters('sawfilter.s2p');
Plot the passivity of the 2-by-2 S-parameters.
ns — Two-norm transfer function H(f)
Two-norm transfer function H(f) at each frequency in
s.Frequencies, returned as a column vector.
violationindex — Frequencies indices where passivity is violated
Frequencies indices where passivity is violated (norm(H)>1), returned as a column vector.