MATLAB: How to control the seed that is used to generate the random path gains in RAYLEIGHCHAN function

Communications Toolboxmimopathgainpathgainsrandomrayleighrayleighchanseed

I want to model a MIMO System and hence want to control the seed used to generate the random path gains in the RAYLEIGHCHAN function.
When I generate a channel object using the RAYLEIGHCHAN function to filter my inputs, the channel object has a property called PATHGAINS that is a complex vector (randomly set every time I filter using this channel object).
How do I control the seed that is used for this random generation that is being used for generating the random PATHGAINS for the channel object?

Best Answer

You can specify the seed used to generate the random path gains by resetting the channel at the beginning of your filtering operation using the RESET(CHANNEL) function. In this function, you can specify a random state vector as an optional input.