DSPRelated.com
Forums

I need more information about the resample command

Started by sys7...@yahoo.com June 18, 2008
Can anyone direct me to a good reference on learning how Matlab processes data via either the "resample" command or the "interp" command in the Signal Processign Toolbox? I need to understand what the other parameters in resample do.

Context:
I am building a simulated WiMAX signal that can be played out of an arbitrary wavefom generator. I have to make a sampling rate up-conversion to allow the final signal to be played.

If I use either "interp" or "resample" my spectrum is wrapped around half of the new sampling frequency (Fs/2). When played out of the Arb, the spectrum is all wrong

The reason is that I am using the ifft function to build the initial timebased waveform (I and Q) from a set carrier map. As such, Matlab is interpreting my carrier map as being only the positive half of the spectrum, the other half being in negative frequency space (which it is not). So either "interp" or "resample" fold across Fs/2.

Regards
-W