필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Emily Gallagher
Emily Gallagher 2019년 10월 16일
편집: Matt J 2019년 10월 16일
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에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by