what mean l2 norm??

6 次查看(过去 30 天)
mina
mina 2013-3-2
what mean l2 norm??

采纳的回答

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

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by