フィルターのクリア

Finding minimums and maximums of repetitive numbers in a matrix

1 回表示 (過去 30 日間)
Vahid Esmaeili
Vahid Esmaeili 2020 年 7 月 16 日
コメント済み: Vahid Esmaeili 2020 年 7 月 16 日
Hello,
Would you please assist me to find minimums and maximums of repetitive numbers in the attached matrix (EXCEL file). Actually, corresponding values of red ovals and green and blue arrows are different events recorded as biomechanical data during human gait. I am a beginner and need explanation to understand how to calculate the corresponding values. Thank you very much.
  2 件のコメント
Arthur Roué
Arthur Roué 2020 年 7 月 16 日
Look into functions islocalmax and islocalmin for a start
Vahid Esmaeili
Vahid Esmaeili 2020 年 7 月 16 日
Thank you so much.

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

採用された回答

David Hill
David Hill 2020 年 7 月 16 日
Might need to filter slightly to smooth data to obtain consistent results.
redA=islocalmax(a)&a>.1;
greenA=islocalmin(diff([a(1);a]))&a<.03;
blueA=islocalmin(a)&a<.03
  3 件のコメント
David Hill
David Hill 2020 年 7 月 16 日
Your filter could be as simple as:
a=movmean(a,4);
Vahid Esmaeili
Vahid Esmaeili 2020 年 7 月 16 日
Thank you very much for your favor.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by