what mean l2 norm??

 Akzeptierte Antwort

Wayne King
Wayne King am 2 Mär. 2013

3 Stimmen

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))

Weitere Antworten (1)

Albert
Albert am 2 Mär. 2013

0 Stimmen

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

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by