How to plot phase and amplitude spectrum after doing fft?

조회 수: 31 (최근 30일)
Saptarshi Maji
Saptarshi Maji . 2020년 10월 31일
답변: Sindar . 2020년 11월 1일
Hello, I am a new MATLAB user. I had a signal file in .txt which I did Fourier Transform for. I would like to know what code I should input in MATLAB in order to plot the phase and amplitude spectra of this file. Thanks in advance... "The signal txt is atttched herewith"
  댓글 수: 2
Saptarshi Maji
Saptarshi Maji 2020년 11월 1일
편집: Saptarshi Maji 님. 2020년 11월 1일
Strider, This is the only data given to me by my lecturer in college, I don't need accuracy but can you give me a code that allows this to do the above mentioned program. I know that the data is incomplete, But can you give the specific time vectors by yourself and do the 2 plottings. Take the sample rate of 100samples/second or deltaT = 0.01.
I will be highly grateful.

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

답변 (1개)

Sindar 2020년 11월 1일
See this example for in angle documentation


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





Community Treasure Hunt

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

Start Hunting!

Translated by