I have different answer using 'norm'. Do I miss something?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!