can anybody tell me how can i acess individual location of locs for further use
1 view (last 30 days)
Show older comments
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)
0 Comments
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!