mix()

Returns a component of a spectrum based on a vector of mixing indices

Syntax
mix(xOut, harmIndex, Mix)

Arguments
Name Description Range Type Default Required
xOut voltage or a current spectrum (-∞, ∞) real, complex   yes
harmIndex desired vector of harmonic frequency indices (mixing terms) (-∞, ∞) integer array   yes
Mix variable consisting of all possible vectors of harmonic frequency indices (mixing terms) in the analysis (-∞, ∞) matrix no
† Mix, is required whenever the first argument is a spectrum obtained from an expression that operates on the voltage and/or current spectrums. This is not required if the voltage is a named node or if the current is from a probe

Examples

In the example below, vOut is the voltage at a named node. Therefore the third argument Mix is not required.
y = mix(vOut, {2, -1})
In the example below, vExp is an expression. Therefore in the mix() function, the third argument Mix is required.
vExp=vOut*vOut/50
z = mix(vExp, {2, -1}, Mix)

Defined in

Built in

See Also

find_index()

Notes/Equations

Used in Harmonic Balance analysis.
It is used to obtain the mixing component of a voltage or a current spectrum corresponding to particular harmonic frequency indices or mixing terms.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources