How to assign time on x-axis in emd?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/613230/image.jpeg)
Thanks in advance,
0 commentaires
Réponses (1)
Mathieu NOE
le 11 Mai 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 commentaires
Mathieu NOE
le 16 Mai 2021
hello Jan
I thought the topic has already been answered - in another post (about the same exact question ??)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!