Info
此问题已关闭。 请重新打开它进行编辑或回答。
find local max in a matrix
1 次查看(过去 30 天)
显示 更早的评论
Hello.I have this matrix A=[116 3;107 6;114 6;119 6;117 9;120 9;108 15 ;113 18;115 18;112 21;111 24].I want to detect local maximums from second column and where local max happened that row should be kept in a new matrix.here (112 21) & (111 24) should be saved in matrix B.can any one help me plz?
2 个评论
Jos (10584)
2016-2-22
How do you define a local maximum? I do not see how 21 and 24 are local maxima of the second column ...
Stephen23
2016-2-22
Closed as a duplicate (the other has an answer):
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!