collapse()

Collapses the inner independent variable and returns one dimensional data

Syntax
y = collapse(x)

Arguments
Name Description Range Type Required
x multi-dimensional data to be collapsed (dimension is larger than one and less than four) (-∞, ∞) integer, real, complex yes

Examples

Given monte carlo analysis results for the S11 of a transmission line:
It is two-dimensional data: the outer sweep is mcTrial; the inner sweep is the frequency from 100 MHz to 300 MHz and is given in the following format:

mcTrial freq S11
1 100MHz 0.2
  200MHz 0.4
  300MHz 0.6
2 100MHz 0.3
  200MHz 0.5
  300MHz 0.7

Returns a one dimensional data with mcTrail, containing all of the previous data.
collapsed_S11 = collapse(S11)

mcTrial   S11
1   0.2
1   0.4
1   0.6
2   0.3
2   0.5
2   0.7

Defined in

$HPEESOF_DIR/expressions/ael/statistical_fun.ael

See Also

expand()

Notes/Equations

The collapse() function cannot be used to convert a matrix into an array or vector. Use the expand() function instead.

 

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

Contents
Additional Resources