position of maximum in matrix
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm going to find the position of maximum value in every column of a matrix
0 个评论
回答(3 个)
per isakson
2012-7-10
Help says:
C = max(A,[],dim) returns the largest elements along the dimension
of A specified by scalar dim. For example, max(A,[],1) produces the
maximum values along the first dimension of A.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!