⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chain.m

📁 mimo2x2天线选择系统的全系统matlab程序,先前的是dsp程序.
💻 M
字号:
% Simulation
% By Maxime Maury
% 05-04-21

% Type of different detectors, parameters for Detector.m 
ML = 1; % Joint ML Detector
JMMSE = 2; % Joint MMSE Detector
ZF = 3; % Joint Zero-Forcing Detector

% Type of different antenna selection criteria methods 
MBER = 1;
MMI = 2;
LAZY = 3;
MNP = 4; %Minimum Noise Power
MMNP = 5;
LAZY2 = 6;

real_ch = 0; % real_ch = 0 refers to simulated channel in MATLAB, otherwise refers to real channel
SNR_dB = 20;% transmit SNR in the simulated channel
nr_frames = 20; % number of frames sent when simulation.
detect_type = ZF; % Detector choice
select_type = MBER; % Antenna selection choice

disp('');

tx(nr_frames);
disp('Press any key to continue');
pause

RF(real_ch,SNR_dB);
disp('Press any key to continue');
pause

BER = rx(detect_type,select_type);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -