摘要:
The present invention is a method of simulating the effects of a plurality of channels on a signal that includes the steps of acquiring a state transition matrix for each of said plurality of channels; acquiring an error matrix for each of said plurality of channels; selecting the first channel to be simulated; assuming that the signal is in a particular state; receiving the signal; generating a first number; determining the state to which the signal transitions; transitioning the signal to the state determined in the last step; generating a second number; determining what errors, if any, to inject into the signal by comparing the second number to entries in the column of the error matrix of the corresponding channel that matches the state of the signal; if one of the errors determined in the last step is lost signal then discarding the signal, not injecting any other error into the signal, selecting another channel if the user desires, assuming that the next signal selected is in the same state to which the previous signal transitioned, returning to the fifth step if another channel is selected, and transmitting the signal if another channel is not selected; and injecting the errors determined in the tenth step into the signal, selecting another channel if the user desires, returning to the fifth step if another channel is selected, assuming that the next signal selected is in the same state to which the previous signal transitioned, and transmitting the signal if another channel is not selected.