detectminima.m

来自「Toolbox for biomedical signal processing」· M 代码 · 共 26 行

M
26
字号
function y = DetectMinima(x,thrsa,pfa)%DetectMinima: Detect minima in the input signal x%%   y = DetectMinima(x,thrs,pf)%%   x      Input signal       %   thrs   Threshold value (optional)%   pf     Plot flag: 0=none (default), 1=screen%%   y      Location (index) of the mimima  %%   Finds the location (index) of all the minima in the %   input signal x and returns them in a sorted vector (MIN). %   If the thrs input is used, the funtion returns those peaks that%   are smaller than thrs. %%   Example: Detect all the minima in the ICP signal provided with the %   bsp toolbox data (ICP.m) and plot the results.%%      load ICP; %      DetectMinima(icp);%%   Version 1.0 MA%%   See also DetectMaxima, ManualDetector, and PressureDetector.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?