Sign in

username or email:

password:



Not a member?
Forgot your password?

Search compdsp



Search tips

Ads

Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGA

Discussion Groups | Comp.DSP | Time delay an OFDM Signal

There are 1 messages in this thread.

You are currently looking at messages 1 to .


Is this discussion worth a thumbs up?

0

Time delay an OFDM Signal - emeto - 2012-08-08 08:20:00

Hi,

I want to delay an OFDM signal in time domain (MATLAB): 


sig= signal
ipIndex = interpolation index
--------------------------------------------------------------------
% Interpolation
iq_ip = interp(sig,ipIndex);

% Delay the signal
delayed_iq_ip = [iq_ip(end-delayIndex+1:end); iq_ip(1:end-delayIndex)];

% Reduce the sampling rate 
r=1;
for sample = 1:ipIndex:length(delayed_iq_ip),
    iq_d(r,1) = delayed_iq_ip(sample,1);
    r = r+1;
end

sig_delayed = iq_d;
------------------------------------------------------------------------

I am not sure, if this way of delaying the signal is right. 
% Delay the signal
delayed_iq_ip = [iq_ip(end-delayIndex+1:end); iq_ip(1:end-delayIndex)];

Is it better just to add zeros in the beginning of the signal?I have to
compensate this delay in the transmitter before the FFT. 

Thank you.

emeto 




______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.