📄 wimax.m
字号:
close all;
clear all;
SUI = [];
G = [];
n_mod_type = [];
figur =1;
run = 'y';
while run=='y'
clc;
disp(' ********************************************************************************************');
disp(' * *');
disp(' * Shahed university *');
disp(' * Wimax Project *');
disp(' * Simulation of The 802.16 Physical Layer *');
disp(' * (SISO-OFDM) *');
disp(' * By: Mehrdad Manaffar *');
disp(' * Version: 1.1 *');
disp(' ********************************************************************************************');
disp(' ');
disp(' ');
G = input(' Please enter the Lenght of CP [1/4 1/8 1/16 1/32]: ');
disp(' ');
n_mod_type = input(' Please enter the modulation Scheme (1 for BPSK, 2 for QPSK, 3 for 16QAM, 4 for 64QAM): ');
if n_mod_type == 3
n_mod_type = 4;
elseif n_mod_type == 4
n_mod_type =6;
end
disp(' ');
BW = input(' Please enter the Channel BandWidth (28,24,20,15,14,12,11,10,7,6,5.50,5,3.50,3,2.50,1.75,1.5,1.25 [MHz]);');
disp(' ');
%samples = input(' Please enter the number of OFDM symbols to simulate (total bits = 20*symbols):');
samples=5;
disp(' ');
disp(' Please wait........');
TestChannels(n_mod_type,G,samples,BW,figur);
disp(' ');
run = input (' --> Do you wish to run other simulations (y/n): ','s');
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -