Skip to Main Content Skip to Search
Product Documentation

analyze - Analyze circuit object in frequency domain

Syntax

analyze(h,freq)
analyze(h,freq,zl,zs,zo,aperture)
analyze(h,freq,'condition1',value1,...,'conditionm',valuem)

Description

analyze(h,freq) calculates the following circuit data at the specified frequency values:

h is the handle of the circuit object to be analyzed. freq is a vector of frequencies, specified in hertz, at which to analyze the circuit. OIP3 is always infinite for passive circuits.

analyze(h,freq,zl,zs,zo,aperture) calculates the circuit data at the specified frequency values. The arguments zl, zs, zo, and aperture are optional. zl, zs, and zo represent the circuit load, circuit source, and reference impedances of the S-parameters, respectively. The default value of all these arguments is 50 ohms.

The aperture argument determines the two frequency points that the analyze method uses to compute the group delay for each frequency in freq. aperture can be a positive scalar or a vector of the same length of as freq.

Group delay τg at each frequency point f is the negative slope of the phase angle of S21 with respect to f:

where:

By default, analyze calculates the group delay in nanoseconds.

The value of aperture affects the accuracy of the computed group delay. If aperture is too large, the slope estimate may be not accurate. If aperture is too small, the computer numerical error may affect the accuracy of the group delay result.

analyze(h,freq,'condition1',value1,...,'conditionm',valuem) calculates the circuit data at the specified frequency values and operating conditions for the object h. The inputs 'condition1',value1,...,'conditionm',valuem are the condition/value pairs at which to analyze the object. Use this syntax for rfckt.amplifier, rfckt.mixer, and rfdata.data objects where the condition/value pairs are operating conditions from a .p2d or .s2d file.

When you analyze a network that contains several objects, RF Toolbox software does not issue an error or warning if the specified conditions cannot be applied to all objects. For some networks, because there is no error or warning, you can call the analyze method once to apply the same set of operating conditions to any objects where operating conditions are applicable. However, you may want to analyze a network that contains one or more of the following:

To analyze such a network, you should use the setop method to configure the operating conditions of each individual object before analyzing the network.

Analysis of Circuit Objects

For most circuit objects, the AnalyzedResult property is empty until the analyze method is applied to the circuit object. However, the following four circuit objects are the exception to this rule:

For a detailed explanation of how the analyze method calculates the network parameters, noise figure values, and OIP3 values for a particular object, see the AnalyzedResult property on the reference page for that object.

References

http://www.microwaves101.com/encyclopedia/groupdelaymeasurements.cfm

See Also

calculate | extract | getz0 | listformat | listparam | loglog | plot | plotyy | polar | read | restore | semilogx | semilogy | smith | write

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS