what()
Returns size and type of data
Syntax
y = what(x, DisplayBlockName)
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| x | data | (-∞, ∞) | integer, real, complex, string | yes | |
| DisplayBlockName | Displays block name | [0, 1]† | integer | 0 | no |
| † If DisplayBlockName equals 0, no block name is specified (default behavior). If DisplayBlockName equals 1, then block name is displayed. If DisplayBlockName is not equal to 0 or 1, it defaults to 0 | |||||
Examples
x = [10,20,30,40]
y = what(x)
| y |
|---|
| Dependency : [ ] |
| Num. Points : [4] |
| Matrix Size : scalar |
| Type : Integer |
Defined in
Built in
See Also
Notes/Equations
This function is used to determine the dimensions of a piece of data, the attached independents, the type, and (in the case of a matrix) the number of rows and columns. Use what() by entering a listing column and using the trace expression what(x).
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()