If I have:
what do I replace ? with that will find the maximum value in each row of A without using the max function?
A = [1 2 3 4; 2 3 4 5; 4 8 9 10];
[N M] = size(A);
c = zeros(N,1);
for n=1:N;
for m=1:M;
c(n) = ?;
end
end
what do I replace ? with that will find the maximum value in each row of A without using the max function?