MATLAB: How to find the bandwidth of a signal

sampling ratewvd

i have a audio signal ,I want to know the bandwidth because its specgram has artefacts i think it may be due to the sample rate.

Best Answer

For all but the simplest cases the term bandwidth is ambiguous. You probably want to look at the long-time Fourier transform instead of the short-timer (i.e., spectrogram). Assuming your audio signal is single channel and called x
plot(20*log10(abs(fft(x))))
From there you might be able to define the lower and upper frequency bounds of your signal.