フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

find local max in a matrix

1 回表示 (過去 30 日間)
Fateme Jalali
Fateme Jalali 2016 年 2 月 22 日
閉鎖済み: Stephen23 2016 年 2 月 22 日
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)
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
Stephen23 2016 年 2 月 22 日

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by