Return true if
rationalfit output is passive at all
Check and Plot Passivity of N-by-N Rationalfit
Read the file,
passive.s2p and fit the 2-by-2 S-parameters.
S = sparameters('passive.s2p'); fit = rationalfit(S);
Test the passivity of the 2-by-2 fit.
ans = logical 0
Plot the passivity of the 2-by-2 fit.
figure passivity(fit,[1e9 40e9])
result — Result of passivity test
Result of passivity test of the
object, returned as
result tells you if the
fit can result in unstable
maxfreq — Frequency at which norm(H) is equal to maximum value
Frequency at which norm(H) is equal to maximum value, returned as a scalar in hertz.
maxvalue — Maximum norm(H) over frequencies (0,Inf)
Maximum norm(H) over frequencies (0,Inf), returned as a scalar.