Trouble with Envelope Functions
Mostrar comentarios más antiguos
Hi,
I have been trying to obtain a smooth envelope of my data. I have tried using other peoples solutions from the file exchange but unable to get a smooth envelope. See attached images.
Attached is the relevant data.
If anyone can recommend a file exchange or other solution would be much appreciated!
Thanks!
1 comentario
Glo
el 21 de Abr. de 2015
Can you be more specific about your question? What is this data? What do you mean by "smooth envelope"? What is the specific goal?
Respuesta aceptada
Más respuestas (1)
Youssef Khmou
el 21 de Abr. de 2015
Editada: Youssef Khmou
el 21 de Abr. de 2015
try the following basic solution using Hilbert transform :
fs=40;
t=0:1/fs:4-1/fs;
f=15;
y=1.5*sin(2*pi*f*t).*exp(-1.1*t);
y=y+0.1*randn(size(t));
plot(t,y)
hold on;
z=abs(hilbert(y));
plot(t,smooth(z,0.25),'r');

2 comentarios
Si
el 21 de Abr. de 2015
Hany Ferdinando
el 29 de En. de 2019
Hi Youssef,
I also faced the same problem using envelop function. However, using your approach seemed not useful for me. The blue line is the PPG signal. The envelope calculation using hilbert seemed not what I expected. What do you think?
Thanks
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


