How to assign time on x-axis in emd?

2 次查看(过去 30 天)
Jan Ali
Jan Ali 2021-5-10
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,

回答(1 个)

Mathieu NOE
Mathieu NOE 2021-5-11
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 个评论
Jan Ali
Jan Ali 2021-5-16
Hello Mathieu again,
I am looking forward to getting your kind answer.
Thanks in advance,
Mathieu NOE
Mathieu NOE 2021-5-16
hello Jan
I thought the topic has already been answered - in another post (about the same exact question ??)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by