norm

Navigation:  Language Reference > Functions > Matrix >

norm

Previous pageReturn to chapter overviewNext page

Syntax

y = norm(A);

or

Y = ||A||;

Description

Returns the square root of the sum of the squared matrix elements of A:

 

Norm

Examples

A = [1,2;3,ramp(1)];

y = norm(A);

Limitations

y must be a scalar.