Signal Processing Toolbox    
abs

Absolute value (magnitude)

abs is a MATLAB function.

Signal-specific Example

Calculate the magnitude of the FFT of a sequence.

Plot the magnitude:


  Functions -- Alphabetical List ac2poly