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;

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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