HI I have these specification for an OFDM program I was wondering, what is the bandwidth and the sampling frequency? I'm not a student of Digital signal processing, hence I am so confused.

nIFFT = 2048;
nCyclic = nIFFT/4;
pilot_distance = 16;
pilot_amplitude = 2;
offset = nIFFT*3;
% total number of complex samples in the timedomain
nTotal = (nIFFT+nCyclic)*ymax+offset;

1 Answer 1


I don't think it's possible to deduce the sampling rate from this information. The sampling rate could be anything, since FFT is sampling rate agnostic. Sampling rate is pretty much independent of all other parameters which scale directly with it.

Concerning the bandwidth, it's not clear either. You're specifying pilot distance, but we don't know what the units are and we never see how those variables get used. Is there more to the code you're studying?

Looked at your full code, and the sampling rate is 8 kHz, since that's what frequency is used in the wavwrite command. Will have to get back to bandwidth.

  • $\begingroup$ Hi, yes there is pastethis.in/?paste=1590 pwd = modem. hope this helps. $\endgroup$
    – user8572
    Commented Apr 26, 2014 at 22:32
  • $\begingroup$ Thank you for the sampling frequency.But Sorry, I am still unclear about the bandwidth. $\endgroup$
    – user8572
    Commented Apr 27, 2014 at 2:39
  • $\begingroup$ Assuming that all subcarriers are modulated, the bandwidth is approximately equal to the sampling frequency. $\endgroup$
    – Deve
    Commented Apr 28, 2014 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.