How to smoothen the signal and make a good envelope

3 visualizaciones (últimos 30 días)
Ramesh Bala
Ramesh Bala el 31 de En. de 2020
Comentada: Ramesh Bala el 7 de Dic. de 2022
I have a velocity and time data.I would like to smoothen the signal as the hilbert of the signal is very dense ? How to do it
filenames= ["p1"]; % 0 degrees
for k=1:numel(filenames)
s(k)=load (filenames{k});
signal(k,1:length(s(k).ans))=s(k).ans;
end
load('t.mat')
figure;
plot(t,(signal(k,:)),t,envelope(signal(k,:)),time4(k),a6(k),'ro');
hold on
grid on;xlim([0 8E-4])
ylim([-inf inf])
  2 comentarios
Siddharth Singh
Siddharth Singh el 11 de Oct. de 2022
Hi, just wanted to know what does .ans do in the code?
Ramesh Bala
Ramesh Bala el 7 de Dic. de 2022
.ans is just the extension of the variable Stored as such. It has nothing to do in the code

Iniciar sesión para comentar.

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 15 de Mzo. de 2020
You can try doing this interactievly using the new Smooth Data task. You can test out a variety of settings to see what works with your data. See here for more info.
Consider going through this video from our course on Coursera to see if it helps you out as well.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by