A = [1 2; 3 4];
norm(A) >> 5.4650
But equivalently,
sqrt(1^2 + 2^2 + 3^2 + 4^2) >> 5.4772
the answer is different
Do I miss something? thx!

 採用された回答

Torsten
Torsten 2017 年 8 月 15 日

0 投票

norm(A) and norm(A,'fro') are different things.
Best wishes
Torsten.

3 件のコメント

penyao lu
penyao lu 2017 年 8 月 15 日
I got it!thanks, Torsten!!
Stephen23
Stephen23 2017 年 8 月 15 日
@penyao lu: the best way for you to say "thank you" is to accept Torsten's answer.
penyao lu
penyao lu 2017 年 8 月 15 日
thx for your remind! Stephen.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

タグ

質問済み:

2017 年 8 月 15 日

コメント済み:

2017 年 8 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by