This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Check passivity of scalar rational function object


result = ispassive(h)


result = ispassive(h) checks the passivity of the rational function object, h, across all frequencies, and returns result, a logical value. If h is passive, then result is 1. If h is not passive, then result is 0.


collapse all

Create a scalar rational function object and check the passivity of the object. Read a Touchstone data file.

ckt = read(rfckt.passive, 'passive.s2p');

Fit the transfer function into a rational function object.

TF = s2tf(ckt.AnalyzedResult.S_Parameters);
TF_Object = rationalfit(ckt.AnalyzedResult.Freq, TF);

Check the passivity of the rational function object.

Is_Passive = ispassive(TF_Object)
Is_Passive =



Introduced in R2010a

Was this topic helpful?