indep()

Returns the independent attached to the data

Syntax
Y = indep(x, NumberOrName)

Arguments
Name Description Range Type Default Required
x data to access the independent values (-∞, ∞) integer, real, complex   yes
NumberOrName number or name of independent [0, 6] integer, string 0 no

Examples

Given S-parameters versus frequency and power: Frequency is the innermost independent, so its index is 1. Power has index 2.
freq = indep(S, 1)
freq = indep(S, "freq")
power = indep(S, 2)
power = indep(S, "power")

Defined in

Built in

See Also

find_index(), get_indep_values()

Notes/Equations

The indep() function returns the independent (normally the swept variable) attached to simulation data. When there is more than one independent, then the independent of interest may be specified by number or by name. If no independent specifications are passed, then indep() returns the innermost independent.

 

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

Contents
Additional Resources