Norm-2 calculation time

19 vues (au cours des 30 derniers jours)
Hassan Omar
Hassan Omar le 19 Sep 2012
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.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by