Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can i visualiize the peeks over the graph?

1 Ansicht (letzte 30 Tage)
Elias Unk
Elias Unk am 24 Jul. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
My code for R peeks extraction:
m1=max(ca2)*.40;%to test
P=find(ca2>=m1);
y_levels=ca2(P);
P_loc=[];
diff_pp=[];
for k=1:length(P)-1
diff=abs(P(k) - P(k+1));
if(diff>20)
P_loc=[P_loc P(k)];
diff_pp=[diff_pp diff];
end
end
diff_pp_min=min(diff_pp);
diff_pp_max=max(diff_pp);
diff_pp_mean=mean(diff_pp);
diff_pp_amp=max(y_levels);
ca2 being the coefficient after the wavelet decomposition
ca2=appcoef(c,l,'db4',2);
any feedback regarding how i can improve it and visualize the peeks on my EGC signal

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by