what mean l2 norm??

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 2 日
Have you read the help?

サインインしてコメントする。

 採用された回答

Wayne King
Wayne King 2013 年 3 月 2 日

3 投票

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 件のコメント

mina
mina 2013 年 3 月 2 日
thank you so much

サインインしてコメントする。

その他の回答 (1 件)

Albert
Albert 2013 年 3 月 2 日

0 投票

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

1 件のコメント

mina
mina 2013 年 3 月 2 日
thank you so much

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Signal Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by