Different norms for different functions

9 Ansichten (letzte 30 Tage)
Nate
Nate am 21 Mai 2018
Beantwortet: Ameer Hamza am 21 Mai 2018
I am wondering why functions such as 'rcond' rely on a different norm of computation than the default value of the function 'norm'. Moreover, I am also wondering why the default output of 'norm' is the spectral norm. What is the intuition/practicality behind this?

Antworten (1)

Ameer Hamza
Ameer Hamza am 21 Mai 2018
MATLAB provides the option to use cond to calculate a different-norm condition number. According to the documentation difference between rcond() and cond() lies in their implementation. rcond() is more efficient of the two, but less reliable.
As for the choice of L2-norm as default output for norm() function, I think it has to do with the widespread use of L2 norm. For example, the Euclidean distance between two vectors, similarly the least square error problems also use L2-norm between predicted and actual dataset. Other types of norms are not as common and intuitive as L2 norm. Therefore it make sense to set it as the default value for MATLAB's norm() function.

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by