viewing spectrum of an audio signal in matlab

조회 수: 20 (최근 30일)
Denis Kim
Denis Kim 2020년 5월 29일
편집: Nikhil Sonavane 2020년 7월 7일
how to plot frequency spectrum of magnitude and phase spectra of an audio signal "Handel" in the FFT?
load handel
[xn fs]=myhandel
nf=1024 %number of point in dtft
y = fft(xnnf)
f = fs/2*linspace(01nf/2+1)
plot(fabs(y(1:nf/2+1)))

답변 (1개)

Nikhil Sonavane
Nikhil Sonavane 2020년 7월 7일
편집: Nikhil Sonavane 2020년 7월 7일
You may refer to an already answered similar MATLAB Answer which may solve your issue. For more information you may refer Basic Spectral Analysis as well.

카테고리

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