Forums

channel object of matlab

Started by arash private December 15, 2008
dear all

does any body use Channel Object of matlab for ofdm signal. like
chan = rayleighchan(ts,fd,tau,pdb);
## this is my case
Nfft = 1024;
BW = 10*1e6;

% Factor of correction
n(/25; % sampeling factor .see ieee 802.16e part 8.4.2.3

% Derived Parameteres 8.4.2.4 ieee 80.16 2004
Fs = floor(n*BW/8000)*8000; % Sampling frequency
deltaF = Fs / Nfft; % Subcarrier spacing.
Tb = 1/deltaF; % Useful symbol time (data only)
Ts = Tb * (1+G); % OFDM symbol time (data + cyclic prefix)
T = 1/(Fs*1e-6);
samplingttime= Tb/Nfft;

c1 = rayleighchan(samplingttime,2.5,[0 4 10],[0 -5 -10]);

error is :
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> rayleighchan at 116
chan = channel.rayleigh(varargin{:});
please help me i want use this channel object to simulate sui 5 channel model.
Hi Arash,

I haven't looked in detail at your code but it appears that your path delay
vector [0 4 10] is calling for a delay spread of 10 seconds. I can't imagine
such a path, unless your are trying to account for signals bounced off a
distant planet : ).

> c1 = rayleighchan(samplingttime,2.5,[0 4 10],[0 -5 -10]);

> error is :
> ??? Out of memory. Type HELP MEMORY for your options.
> Error in ==> rayleighchan at 116