How to assign time on x-axis in emd?

1 visualización (últimos 30 días)
Jan Ali
Jan Ali el 10 de Mayo de 2021
Comentada: Mathieu NOE el 16 de Mayo de 2021
I am using the built in function emd(x), but I can't get the time periode I used for the signal, instead there are samples on the x-axis.
Can anyone help me with assigning time vector on the x-axis for emd?
Thanks in advance,

Respuestas (1)

Mathieu NOE
Mathieu NOE el 11 de Mayo de 2021
hello
if you know your sampling frequency (Fs) of the original data , and the length of the data , it's fairly straithforward :
dt = 1/Fs;
time = (0:samples-1) * dt;
  5 comentarios
Jan Ali
Jan Ali el 16 de Mayo de 2021
Hello Mathieu again,
I am looking forward to getting your kind answer.
Thanks in advance,
Mathieu NOE
Mathieu NOE el 16 de Mayo de 2021
hello Jan
I thought the topic has already been answered - in another post (about the same exact question ??)

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by