An FH binary orthogonal FSK system employs an m = 7-state shift register to generate a periodic…

An FH binary orthogonal FSK system employs an m = 7-state shift register to generate a periodic maximum-length sequence of length L = 127. Each stage of the shift register selects one of N = 12 7 nonoverlapping frequency bands in the hopping pattern. Write a MATLAB program that simulates the selection of the center frequency and the generation of the two frequencies in each of the N = 127 frequency bands. Show the frequency selection pattern for the first 10 bit intervals.