Write a MATLAB code to Simulate transmission of an image over a wireless channel using adaptive modulation and adaptive channel coding (Reed Solomon). This channel has three states, one that only adds AWGN with a good SNR and this represents the best state, the other adds AWGN with bad SNR, and the last one is a fading channel which represents the worst state. The channel stays in every state for a random time that is exponentially distrusted, then changes to another state in a Markov chain manner. So, it can't transition from the best state to the worst state. We want to use a lower modulation level and protect more with channel coding (Reed Solomon) when the channel is at its worst condition. When the channel condition becomes better, we want to use a higher modulation level and less/or no protection.