How to assign time on x-axis in emd?

조회 수: 6 (최근 30일)
Jan Ali
Jan Ali 2021년 5월 10일
댓글: Mathieu NOE 2021년 5월 16일
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에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by