Question: MATLAB Problem 8) For input matrix A, write a function to return (1) (2) the index of the row with most zero elements, the number
MATLAB
Problem 8) For input matrix A, write a function to return (1) (2) the index of the row with most zero elements, the number of zeros in that row. Example: 1 0-2 -3 61 if input A=10-3-5-2 4 1 then y = [3,2]. That is row 3 has the most zero 2 0 0 elements and the number of zeros in that row is 2 Note: if you have more than one row with most zero elements, return the row index of the first row
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
