필터 지우기
필터 지우기

Shift in frequency of PWELCH function

조회 수: 2 (최근 30일)
Danupon Subanapong
Danupon Subanapong 2019년 6월 25일
댓글: Danupon Subanapong 2019년 6월 26일
Hello!!
I am working with power spectral density function (PWELCH) in matlab. I converted time series of data to frequency domain by using PWELCH. However, the frequency obtaining from this function is incorrect sometimes. I will attach an example which I have 4 set of time series data. All of them contain the same time series data (you can refer to the .txt file attached). However, after using PWELCH and plot PSD vs frequency. You can find that some plot has the shift in frequency. Can anyone please help me?
  댓글 수: 1
Danupon Subanapong
Danupon Subanapong 2019년 6월 26일
I already found what is wrong in my code. It is a simple mistype of the length of window. Thank you.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by