One of known models for channel simulation is called Rayleigh Fading channel, it's usually used to simulate wireless channel in time variant/invariant.
As I know, Rayleigh fading channel can be considered as sum of two Gaussian random variables, we can use the below command to generate that channel:
h = 1/sqrt(2)*[randn(1,M+1) + 1i*randn(1,M+1)];
Where M is channel length and h will be the channel.
But what's about if I want to generate Rayleigh channel in time-variant environment? is that possible? Please correct me if the above command generates Rayleigh channel or there is another command.