From: Bogdan on
Dear All,

I have the following simple code:

fd = linspace(50,140,10);
h = rayleighchan(1e-6,50);
h.ResetBeforeFiltering = 0;

for frame = 1:10
h.MaxDopplerShift = fd(frame);
y = filter(h,j*ones(1,1000));
end

At the end I have NumSamplesProcessed: 1000 instead of 10000.

The problem is that the rayleigh channel is reset every frame because the maximum doppler shift is updated. How can I avoid this?

It should be possible to update the speed of the receiver and thus the max doppler while maintaining the channel state.
From: Frantz Bouchereau on
Hi Bogdan,



When the maximum Doppler shift value changes, the channel's filter response
needs to be re-computed and for this reason the object is reset. You can
still perform simulations with different maximum Doppler shifts to obtain
performance curves versus receiver speed.



I am not sure that keeping the channel state (if this was possible) while
changing the maximum Doppler shift value would be a valid way to simulate
the transition of the channel response due to the change of the Doppler
spectrum since the conventional Doppler spectrum models considered in the
channel object assume constant receiver velocity.



Why do you need to simulate the transition between receiver speeds? Can you
give more details about your application?



Regards,



Frantz



"Bogdan " <bpricope(a)gmail.com> wrote in message
news:hmqp2c$lnp$1(a)fred.mathworks.com...
> Dear All,
>
> I have the following simple code:
>
> fd = linspace(50,140,10);
> h = rayleighchan(1e-6,50);
> h.ResetBeforeFiltering = 0;
>
> for frame = 1:10
> h.MaxDopplerShift = fd(frame); y = filter(h,j*ones(1,1000));
> end
>
> At the end I have NumSamplesProcessed: 1000 instead of 10000.
>
> The problem is that the rayleigh channel is reset every frame because the
> maximum doppler shift is updated. How can I avoid this?
> It should be possible to update the speed of the receiver and thus the max
> doppler while maintaining the channel state.
>