detect the Peak or valley in a 1 D signal
by pang jianfei
14 Apr 2013
(Updated 15 Apr 2013)
%To detect the Peak or valley in a 1 D signal;with some parameter for select
|
Watch this File
|
| File Information |
| Description |
%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 |
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 8.1 (R2013a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 Apr 2013 |
tags |
| 15 Apr 2013 |
tags |
|
Contact us