I have a matrix A double with columns and rows. All the data of A are numbers. I would like to find the maximum value of each row in this matrix.
But it keep onle the last row maximum, whereas the rest data are zero.
Could you please help me?