Create XY-Data
With Matrix or Signal
Returns the signal with axis of abscissae defined by the first row (if A is a matrix) or the axis of abscissa (if A is a signal) of A and axis of ordinates defined by the second row (if A is a matrix) or the axis of ordinates (if A is a signal) of A. A matrix must have two rows and a signal one channel.
Syntax
xydata(A)
Types
| Variable Name | Value Type | Variable Type | ||
|---|---|---|---|---|
| Arguments: | A | real, complex | matrix, signal, xy-data | |
| Result: | X | real, complex | xy-data | |
Calculator Input
Use the button to complete the operation.
Example
| ID | Description | Type | Value | Expression | |
|---|---|---|---|---|---|
| A | REAL MATRIX |
| [[1,2,3],[4,5,6]] | ||
| X | Result | REAL XYDATA | | xydata(A) | |
With Two Vectors
Returns the signal with axis of abscissae defined by v and axis of ordinates defined by u. Vectors must be the same lengths.
Syntax
xydata(v,u)
Types
| Variable Name | Value Type | Variable Type | ||
|---|---|---|---|---|
| Arguments: | v | real | vector | |
| u | real, complex | vector | ||
| Result: | X | real, complex | xy-data | |
Calculator Input
Use the button to complete the operation.
Example
| ID | Description | Type | Value | Expression | |
|---|---|---|---|---|---|
| v | REAL VECTOR |
| [1,2,3] | ||
| u | REAL VECTOR | | [4,5,6] | ||
| X | Result | REAL XYDATA | | xydata(v,u) | |
