Extrema

my_extrema finds the positions of the extrema in each matrix column.

現在この提出コンテンツをフォロー中です。

MY_extrema finds positions of extrema in each column of matrix "mat" and returns "pos_extr" matrix of the same size as "mat" with -1 at the minima's position, 1 at the maxima's position, 0 lsewhere. The search takes results from the test of the sign hange in the corresponding derivation of the "mat". The search technique is adapted for fft specta as the function argument.The pectrum repetition of "mat" is taken into account y extrema test on the edges. The script does not deal with NaN.
In case of flat extrema, the last position on the flat is treated.

引用

Leo Ka (2026). Extrema (https://jp.mathworks.com/matlabcentral/fileexchange/23914-extrema), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: extrema.m, extrema2.m

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0