Magnitude

standard mode | Math category

Inputs

  • complex (vector_complex) - the input vector of complex numbers

Outputs

  • magnitude (vector_real) - the magnitudes of the input vector

Description

This algorithm computes the absolute value of each element in a vector of complex numbers.

References:

[1] Complex Modulus – from Wolfram MathWorld, http://mathworld.wolfram.com/ComplexModulus.html

[2] Complex number - Wikipedia, the free encyclopedia, http://en.wikipedia.org/wiki/Complex_numbers#Absolute_value.2C_conjugation_and_distance.

Source code

See also

Magnitude (streaming)