Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can i visualiize the peeks over the graph?

1 vue (au cours des 30 derniers jours)
Elias Unk
Elias Unk le 24 Juil 2018
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by