5518

Develop a MATLAB program to generate a Markov sequence based on the state transition matrix

Assuming that the system is initially in state 1, generate 200 state transitions and develop a figure that illustrates the state of the channel for each time step. Next generate 40,000 state transitions and, from the simulation results, compute the steady-state probabilities of each state. Verify the result by computing Ak for sufficiently large k.