Prev: Matlab code for mpeg
Next: What does the p-value mean
From: Nirav Shah on 30 Nov 2005 16:37 Hi All, I was wondering of anyone of you have tried using the function rayleighchan in MATLAB. as it is a channel function I would expact it to generate uncorrelated channel everytime. But surprizingly it generates identical channel realization. So If I have two simulations.. I have identical channel for both of them. I tried using rand('state',xx) & gave different state for initialization. But i felt that seed to generate random numbers is hardcoded inside the subroutine. Help says, To generate a particular path gain hk, the function performs these steps: a.. Generates white Gaussian noise b.. Passes the noise through a filter whose power spectrum corresponds to the Jakes Doppler spectrum c.. Interpolates values so that the sample period is consistent with that of the signal d.. Adjusts accordingly to obtain the correct average path gain But they don't say that this white gaussian noise has constant seed everytime .. . ! Has anyone faced this problem? or know the solution to it? I am doing something wrong?
|
Pages: 1 Prev: Matlab code for mpeg Next: What does the p-value mean |