MATLAB Answers

0

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

Asked by Emily Gallagher on 16 Oct 2019
Latest activity Edited by Matt J
on 16 Oct 2019
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Matt J
on 16 Oct 2019
Edited by Matt J
on 16 Oct 2019

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

  0 Comments

Sign in to comment.