필터 지우기
필터 지우기

can anybody tell me how can i acess individual location of locs for further use

조회 수: 2 (최근 30일)
the matlab code till now is as
[pks,locs] = findpeaks(x1,'MINPEAKDISTANCE',33,'MINPEAKHEIGHT',0.12);
n = length (x1);
t1 = [0:n-1]/fs;
figure(9)
plot(t1,x1); hold on;
plot(t1(locs),pks,'k^','markerfacecolor',[1 0 0]);
hold on;
find(x1==0)

답변 (1개)

Matt J
Matt J 2013년 3월 10일
편집: Matt J 2013년 3월 10일
Don't you just mean
locs(1),
locs(2),
locs(3),
etc... ?

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by