XYData for Matrix

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 NameValue TypeVariable Type
Arguments:Areal, complexmatrix, signal, xy-data
Result: Xreal, complex xy-data

Calculator Input

Use the xydata button to complete the operation.

Example

IDDescriptionTypeValueExpression
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 NameValue TypeVariable Type
Arguments:vrealvector
ureal, complexvector
Result: Xreal, complex xy-data

Calculator Input

Use the xydata button to complete the operation.

Example

IDDescriptionTypeValueExpression
v REAL VECTOR

[1,2,3]
u REAL VECTOR [4,5,6]
X Result REAL XYDATA   xydata(v,u)