Extrema

版本 1.0.0.0 (929 字节) 作者: Leo Ka
my_extrema finds the positions of the extrema in each matrix column.
1.4K 次下载
更新时间 2009/4/27

无许可证

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 (2024). Extrema (https://www.mathworks.com/matlabcentral/fileexchange/23914-extrema), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Descriptive Statistics 的更多信息
标签 添加标签
致谢

参考作品: extrema.m, extrema2.m

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0