资源简介
MATLAB通信技术的全部例程(全)包括WCDMA、ofdm、mimo、各种调制技术、编码技术等

代码片段和文件信息
%% 802.11b 1Mbps PHY link.
% This M code simulates DBPSK modulation and barker code spreading
% on a perfectly synchonized 802.11b link. It calculates the BER
% rate at each EsNo (EbNo) and plots the result.
%% Simulation parameters
% For each BER loop we specify the number of packets to transmit the packet size and
% the range of channel EsNo values to test.
EsNoRange=[0:2:10]; % Range of noice levels to calculate BER
NumPackets=2;
PacketSizeBytes=1024;
PacketSizeBits=PacketSizeBytes*8; % Here we ignore preamble and sync bits
clear BERResults;
%% System parameters and constants
% Specify a number of system constants.
% Spreading parameters
Barker=[1 -1 1 1 -1 1 1 1 -1 -1 -1]‘; % Barker sequence
SpreadingRate=length(Barker); % Spreading rate
% Upsampling rate
SamplesPerChip=8;
% Filter order and coefficients - root raised cosine
FilterOrder=40; % Set to multiple of SamplesPerChip to make delay calculation easy
h=firrcos(FilterOrder7e6.788e6‘rolloff‘‘sqrt‘FilterOrder/2kaiser(FilterOrder+11));
%% Delay calculation
% Calclate (specify) the net number of bits delay in the link due
% to the filtering.
%
% * samples_delay = 2 filters x (40 coeffs / 2) = 40 samples
% * chips_delay = sample_delay/SamplesPerChip = 40/8 = 5 chips
% * Must recalculate delay if you change any of these parameters
% We must delay the signal 6 more chips to align it with the 11 chip
% boundary. This results in an 11 chip delay or one symbol/bit delay.
% You must recalculate total and additional delay if you change any of these
% parameters
BitDelay=1;
ChipDelayAdd=6;
%% Main BER loop
% Calculates the BER for each EsNo level.
NumEsNos=length(EsNoRange);
disp(‘ ‘);disp(‘Start Simulation‘);
for EsNoIndex =1:NumEsNos
EsNo=EsNoRange(EsNoIndex);
disp([‘Simulating: EsNo=‘ num2str(EsNo) ‘dB‘]);
SNR=EsNo+10*log10(1/SpreadingRate)+10*log10(1/SamplesPerChip);
% Initialize system and simulation measurements state
% Bits
TotalBits=logical(0); % Bit count for BER calculation
ErrorBits=logical(0); % Error count for BER calculation
LastTxSymbol=1; % Set DBPKS Modulator state
LastRxSymbol=1; % Set DBPKS Demodulator state
% Filters
Rx_chips_delayed_store=zeros(ChipDelayAdd1);
Tx_bits_delayed_store=logical(zeros(BitDelay1));
Tx_Filter_State=h(1:end-1); % Fill filter with a +1 symbol
Rx_Filter_State=h(1:end-1); % Fill filter with a +1 symbol
% Main simulation loop
% Each packet is transmitted and the recieved bits compared with the
% transmitted bits to calculate the BER.
for Packet=1:NumPackets
% Construct frame of bits
Tx_bits=rand(PacketSizeBits1)>.5; % Random bits
% Modulate
Tx_bits_bp=(1-2*Tx_bits); % Convert to bipolar 01 --> 1 -1
Tx_symbols=LastTxSymbol*cumprod(Tx_bits_bp); % New DBPSK symbol = previous
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 38912 2005-02-16 17:17 Matlab_Wireless_Communications_example\WCDMA FDD Simuli
文件 1355279 2005-02-16 17:17 Matlab_Wireless_Communications_example\WCDMA FDD Simuli
文件 47104 2005-02-16 20:42 Matlab_Wireless_Communications_example\UWB polycycle\Desc
文件 3084 2005-02-16 20:43 Matlab_Wireless_Communications_example\UWB polycycle\gpolycycle1.m
文件 46080 2005-02-16 20:50 Matlab_Wireless_Communications_example\UWB monopulse1\Desc
文件 2350 2005-02-16 20:49 Matlab_Wireless_Communications_example\UWB monopulse1\UWB_monocycle1.m
文件 46592 2005-02-16 20:38 Matlab_Wireless_Communications_example\UWB Monocycle\Desc
文件 2571 2005-02-16 20:38 Matlab_Wireless_Communications_example\UWB Monocycle\UWB_monocycle1.m
文件 46080 2005-02-16 20:45 Matlab_Wireless_Communications_example\UWB li
文件 5633 2005-02-16 20:45 Matlab_Wireless_Communications_example\UWB li
文件 37376 2005-02-16 20:41 Matlab_Wireless_Communications_example\UWB channel model\Desc
文件 11051 2005-02-16 20:40 Matlab_Wireless_Communications_example\UWB channel model\UWB_Channel_IEEE_802_15_3a.zip
文件 46080 2005-02-16 20:54 Matlab_Wireless_Communications_example\UWB BPSK Fifth Order Derivative\Desc
文件 15374 2005-02-16 20:53 Matlab_Wireless_Communications_example\UWB BPSK Fifth Order Derivative\UWBBPSK3.m
文件 46080 2005-02-16 20:44 Matlab_Wireless_Communications_example\UWB BPSK Analysis\Desc
文件 17757 2005-02-16 20:44 Matlab_Wireless_Communications_example\UWB BPSK Analysis\UWBBPSK.m
文件 46080 2005-02-16 20:47 Matlab_Wireless_Communications_example\UWB Analysis\Desc
文件 10829 2005-02-16 20:47 Matlab_Wireless_Communications_example\UWB Analysis\UWB_analysis.m
文件 46080 2005-02-16 20:52 Matlab_Wireless_Communications_example\Uncorrelated Rayleigh fading channels\Desc
文件 2417 2005-02-16 20:52 Matlab_Wireless_Communications_example\Uncorrelated Rayleigh fading channels\modified_jakes.m
文件 39424 2005-02-16 17:31 Matlab_Wireless_Communications_example\Ultrawideband (UWB) multiband OFDM physical la
文件 116057 2005-02-16 17:29 Matlab_Wireless_Communications_example\Ultrawideband (UWB) multiband OFDM physical la
文件 47616 2005-02-16 20:26 Matlab_Wireless_Communications_example\Two Tone Test for LNA in RF Receiver\Desc
文件 45571 2005-02-16 20:26 Matlab_Wireless_Communications_example\Two Tone Test for LNA in RF Receiver\two_tone_lna.mdl
文件 46080 2005-02-16 20:56 Matlab_Wireless_Communications_example\Transmission line length formula for coaxial cable to an antenna\Desc
文件 296 2005-02-16 20:55 Matlab_Wireless_Communications_example\Transmission line length formula for coaxial cable to an antenna\xmitlnlength.m
文件 60416 2005-02-16 19:47 Matlab_Wireless_Communications_example\ToyFDTD (Example of the FDTD method with graphical output)\Desc
文件 29166 2005-02-16 19:45 Matlab_Wireless_Communications_example\ToyFDTD (Example of the FDTD method with graphical output)\ToyFDTD1.m
文件 49152 2005-02-16 17:48 Matlab_Wireless_Communications_example\Software Defined Radio\Desc
文件 28602 2005-02-16 17:48 Matlab_Wireless_Communications_example\Software Defined Radio\sdr_model.zip
............此处省略177个文件信息
- 上一篇:近邻传播聚类算法及matlab API
- 下一篇:基于Matlab的指纹图像特征提取
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论