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

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.

Answers (1)

To sum the rows of any matrix A,
sum(A,2)

Categories

Find more on Robust Control Toolbox in Help Center and File Exchange

Asked:

on 16 Oct 2019

Edited:

on 16 Oct 2019

Community Treasure Hunt

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

Start Hunting!