Why do quotes in norm for infinity norm sometimes work
Ältere Kommentare anzeigen
I'm just curious as to why, for some matrix A, you can calculate the infinity norm with
- norm(A, inf)
- norm(A, Inf)
- norm(A, 'inf')but not
- norm(A, 'Inf')
especially when
>> inf
ans =
Inf
Seems strange to have included 'inf' -- and the command itself doesn't indicate that 'inf' is a valid input either:
>> norm(A, 'Inf')
Error using norm
The only matrix norms available are 1, 2, inf, and 'fro'.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Chebyshev finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!