How to write your own function for infinity-norm of a matrix

5 次查看(过去 30 天)
How do I write a function for infinity-norm of some matrix without using the built-in Matlab function? I do not know how to compute the summation of the rows of the matrix.

回答(1 个)

Matt J
Matt J 2019-10-16
编辑:Matt J 2019-10-16
To sum the rows of any matrix A,
sum(A,2)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by