フィルターのクリア

I want to find indexes for maximum and minimum

1 回表示 (過去 30 日間)
Young Lee
Young Lee 2018 年 10 月 20 日
コメント済み: madhan ravi 2018 年 10 月 21 日
I am new to matlab and having difficulty. I want to find indexes for maximum and minimum and put them into sets of array. Here is what I have tried. I have no clue on how to produce data for minimum X and Y indexes. Much appreciated for help!
Ry = HeelArray(:,3);
Ry2= HeelArray(:,6);
plot (Ry)
hold on
plot (Ry2)
findpeaks(Ry2, 'Minpeakheight',500);
[Minima, MinIdx] = findpeaks(Ry2, 'Minpeakheight',500);
  1 件のコメント
Image Analyst
Image Analyst 2018 年 10 月 20 日
Can you attach HeelArray in a .mat file with the paper clip icon, and attach a PNG screenshot with the green and brown frame icon.

サインインしてコメントする。

採用された回答

madhan ravi
madhan ravi 2018 年 10 月 20 日
編集済み: madhan ravi 2018 年 10 月 20 日
 findpeaks(-Ry2); %see carefully I added minus sign in front of Ry2
  4 件のコメント
Young Lee
Young Lee 2018 年 10 月 21 日
Thanks that worked it out
madhan ravi
madhan ravi 2018 年 10 月 21 日
you’re welcome :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by