8ML = 1; % Joint ML DetectorJMMSE = 2; % Joint MMSE DetectorZF = 3; % Joint Zero-Forcing Detector% Type of different antenna selection criteria methods MBER = 1;MMI = 2;LAZY = 3;MNP = 4; %Minimum Noise PowerMMNP = 5;LAZY2 = 6;real_ch = 0; % real_ch = 0 refers to simulated channel in MATLABSNR_dB = 20;% transmit SNR in the simulated channelnr_frames = 20; % number of frames sent when simulation.detect_type = ZF; % Detector choiceselect_type = MBER; % Antenna selection choicedisp('');tx(nr_frames);disp('Press any key to continue');pauseRF(real_chdisp('Press any key to continue');pauseBER = rx(detect_type