Write a function sumrowthat receives a matrix as an input and returns the sum of only the positive number of each row. (Hint: you may use ifstatement and forloops)For example, >>sumrow([1 -2 3; 14 -9 -1; 5 1 -3])
MATLAB: How to sum only positive rows of a matrices
homeworkmatrices
Best Answer