Square

Square a variable. It returns the square of x. If x is a vector, matrix or signal this operation is performed element-wise.

Syntax

x^2

Types
 Variable NameValue TypeVariable Type
Argument:xreal, complexscalar, vector, matrix, signal, xy-data
Result: z real, complex scalar, vector, matrix, signal, xy-data
Calculator Input

Use the x2 button to complete the operation.

Example
IDDescriptionTypeValueExpression
xArgumentREAL SIGNAL   signal([0, 0.5, 1],[1, 4, 9])
z Result REAL SIGNAL   x^2