To get the maximum of every column of your matrix ‘M’:
colmax = max(M);
To get the maximum of every row:
rowmax = max(M,[],2);
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!