I have different answer using 'norm'. Do I miss something?

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

I got it!thanks, Torsten!!
@penyao lu: the best way for you to say "thank you" is to accept Torsten's answer.
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