what mean l2 norm??

 Respuesta aceptada

Wayne King
Wayne King el 2 de Mzo. de 2013

3 votos

The l2 norm of a vector is the square root of the sum of the absolute values squared
X = randn(8,1);
norm(X,2)
The above is equal to
sqrt(sum(abs(X).^2))

Más respuestas (1)

Albert
Albert el 2 de Mzo. de 2013

0 votos

The euclidean distance is computed as a l2-norm, indeed.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Mzo. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by