Norm-2 calculation time

Hello,
Does anyone know why norm-2 of a vector is calculated faster than norm-1 and norm-inf in MATLAB? Eventhough norm-2 requires more computations, such as squaring of each element and the calculation of a square root, as compared to norm-1 and norm-inf.

Respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by