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

📄 c12_example4.m

📁 非线性通信系统的仿真
💻 M
字号:
% File: c12_example4.m
% Software given here is to accompany the textbook: W.H. Tranter, 
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of 
% Communication Systems Simulation with Wireless Applications, 
% Prentice Hall PTR, 2004.
%
% This is an example of Saleh's LPE showing the effects of 
% AM to AM and AM to PM when the input is 16QAM
%
% Create input constellation
backoff = input('Enter backoff in dB > ');
N = 1024;							% number of points
x1 = 2*fix(4*rand(1,N))-3;		    % direct components
x2 = 2*fix(4*rand(1,N))-3;		    % quadrature components
y = x1+i*x2;						% signal space points
%
% Run it thru Saleh's model
z = salehs_model(y,-1*backoff,1024);
subplot(1,2,1)
plot(real(y),imag(y));grid; title('Input Constellation');
xlabel('direct'); ylabel('quadrature')
axis equal
subplot(1,2,2)
plot(real(z),imag(z));grid; title('Output Constellation');
xlabel('direct'); ylabel('quadrature')
axis equal
% End of script file.

⌨️ 快捷键说明

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