File Exchange

image thumbnail

detect the Peak or valley in a 1 D signal

version 1.2 (1.58 KB) by

%To detect the Peak or valley in a 1 D signal;with some parameter for select

1 Download

Updated

View License

%To detect the Peak or valley in a 1 D signal
% input: y signal ;n*1
% T threshold of D-value ,which is difference between the peak value
% or valley value and bilateral value
% d the distance of bilateral value
% p_v parameter for peak or valley ;p_v=0 all;pv=1,peak only;others
% valley only
% example [x1 x2 x3 x4 x5] d=2; T=0.5; When (x1+x5)-2x3>T ,the x3 will be
% decided as a valley
% output: ind the index of peak or valley

Comments and Ratings (0)

Updates

1.2

tags

1.1

tags

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video