what mean l2 norm??

9 visualizzazioni (ultimi 30 giorni)
mina
mina il 2 Mar 2013
what mean l2 norm??

Risposta accettata

Wayne King
Wayne King il 2 Mar 2013
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))

Più risposte (1)

Albert
Albert il 2 Mar 2013
The euclidean distance is computed as a l2-norm, indeed.

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by