snr()
This measurement gives the ratio of the output signal power (at the fundamental frequency for a harmonic balance simulation) to the total noise power (in dB)
Syntax
y = snr(vOut, vOut.noise, fundFreq, Mix)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| vOut | signal voltage at the output port | [0, ∞) | real, complex | yes |
| vOut.noise | noise voltage at the output port | [0, ∞) | real, complex | yes |
| fundFreq | harmonic frequency indices for the fundamental frequency † | (-∞, ∞) | integer array | yes |
| Mix | consists of all possible vectors of harmonic frequency (mixing terms) in the analysis † † | (-∞, ∞) | integer array | no |
| † Note that fundFreq is not optional; it is required for harmonic balance simulations, but it is not applicable in AC simulations. † † Mix is required whenever the first argument is a spectrum obtained from an expression that operates on the voltage and/or current spectrums | ||||
Examples
a = snr(vOut, vOut.noise, {1, 0})
returns the signal-to-power noise ratio for a Harmonic Balance simulation.
a = snr(vOut, vOut.noise)
returns the signal-to-power noise ratio for an AC simulation.
Defined in
$HPEESOF_DIR/expressions/ael/rf_system_fun.ael
See Also
Notes/Equations
If the second argument is of higher dimension than the first, the noise bandwidth used for the purpose of computing snr will be equal to the frequency spacing of the innermost dimension of the noise data, instead of the standard value of 1 Hz.
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()