I just started matlab and need to finish this program really fast, so I don't have time to go through all the tutorials.
can someone familiar with it please explain what the following statement is doing.
[Y,I]=max(AS,[],2);
The []
between AS
and 2
is what's mostly confusing me. And is the max value getting assigned to both Y
and I
?