Calq commands and keywords

Function

abs

Definition

Returns the absolute value of the argument. For a complex argument, it returns the value corresponding to the vector's length.

Example

  abs(-4)
  abs(4)
  abs([ 4, -4 ])
  abs( 3-2*j )

This results in:

  4
  4
  4 4
  3.6056

See also

angle.


What is Calq?
Latest version of Calq
Digital Wave Systems Lab homepage