MATLAB: How to modulate a complex time domain signal to a carrier frequency

frequencyMATLAB

I want to modulate a complex time domain signal to a carrier frequency 1880MHz but the sampling frequency is 30M. I did upconversion using exp(1i*2pi*Fc*(0:length(signal)/Fs)) but the PSD isn't centered at Fc … any ideas ?

Best Answer

You need to rescale your frequency axis. The PSD is on the occupied bandwidth so if you have a carrier, it will be the bandwidth around the carrier.
HTH