Different norms for different functions

9 ビュー (過去 30 日間)
Nate
Nate 2018 年 5 月 21 日
回答済み: Ameer Hamza 2018 年 5 月 21 日
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?

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 5 月 21 日
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.

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by