Info
This question is closed. Reopen it to edit or answer.
I have a random numbers and I need to find the return vector of the maximum number from each column.In other words,A=rand(100), how can I find the he maximum number from each column
1 view (last 30 days)
Show older comments
I have a random numbers and I need to find the return vector of the maximum number from each column.In other words,A=rand(100), how can I find the he maximum number from each column
0 Comments
Answers (1)
Image Analyst
on 8 Jan 2015
Did you look up the max() function in the help? It couldn't get much easier:
maxesOfA = max(A)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!