DSP Blockset | ![]() ![]() |
Normalize an input by its 2-norm or squared 2-norm.
Library
Math Functions / Math Operations
Description
The Normalization block independently normalizes each column of the M-by-N matrix input, u.
The block accepts the following types of inputs:
Note the block does not accept sample-based full matrix inputs.
The output always has the same dimension and frame status as the input. For convenience, length-M 1-D vectors and sample-based length-M row vectors are both treated as M-by-1 column vectors.
2-Norm
When the Norm parameter specifies 2-norm, the block normalizes the jth input column as follows.
where b is specified by the Normalization bias parameter, and is the 2-norm (or Euclidean norm) of the jth input column.
The normalization bias, b, is typically chosen to be a small positive constant (e.g., 1e-10) that prevents potential division by zero.
Squared 2-Norm
When the Norm parameter specifies Squared 2-norm, the block normalizes the jth input column as follows.
Dialog Box
Supported Data Types
To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.
See Also
Matrix Scaling |
DSP Blockset |
Reciprocal Condition |
DSP Blockset |
norm |
MATLAB |
Also see Math Operations for a list of all the blocks in the Math Operations library.
![]() | N-Sample Switch | Overlap-Add FFT Filter | ![]() |