Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Vector normalization along specified dimension

The `dsp.Normalizer`

System
object™ performs vector normalization along rows, columns, or specified dimension.

To perform vector normalization:

Create the

`dsp.Normalizer`

object and set its properties.Call the object with arguments, as if it were a function.

To learn more about how System objects work, see What Are System Objects? (MATLAB).

`norm = dsp.Normalizer`

`norm = dsp.Normalizer(Name,Value)`

returns a
normalization System
object, `norm`

= dsp.Normalizer`norm`

, that normalizes the input over each column by
the squared 2-norm of the column plus a bias term of 1e-10 used to protect against
divide-by-zero.

returns a normalization object, `norm`

= dsp.Normalizer(`Name,Value`

)`norm`

, with each property set to the
specified value.

**For versions earlier than R2016b, use the step
function to run the System object algorithm. The arguments to
step are the object you created, followed by
the arguments shown in this section.**

**For example, y = step(obj,x) and y = obj(x) perform equivalent operations.**

`y = norm(x)`

To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named `obj`

, use
this syntax:

release(obj)

This object implements the algorithm, inputs, and outputs described on the Normalization block reference page. The object properties correspond to the block parameters, except:

**Treat sample-based row input as column**— The block allows you to input a row vector and normalize the row vector as a column vector. The normalization object always normalizes along the value of the Dimension property.The normalization object does not support the

**Minimum**and**Maximum**options for data output.