viewing spectrum of an audio signal in matlab

23 visualizaciones (últimos 30 días)
Denis Kim
Denis Kim el 29 de Mayo de 2020
Editada: Nikhil Sonavane el 7 de Jul. de 2020
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)))

Respuestas (1)

Nikhil Sonavane
Nikhil Sonavane el 7 de Jul. de 2020
Editada: Nikhil Sonavane el 7 de Jul. de 2020
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.

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by