size()
Returns the row and column size of a vector or matrix
Syntax
y = size(x)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | data | (-∞, ∞) | integer, real, complex | yes |
Examples
Given 2-port S-parameters versus frequency, and given 10 frequency points. Then for ten 2 × 2 matrices, size() returns the dimensions of the S-parameter matrix, and its companion function sweep_size() returns the size of the sweep:
Y = size(S)
returns {2, 2}
Y = sweep_size(S)
returns 10
Defined in
Built in
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()