Documentation

This is machine translation

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

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

ispassive

Check passivity of scalar rational function object

Syntax

result = ispassive(h)

Description

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.

Examples

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 =

  logical

   1

Introduced in R2010a

Was this topic helpful?