Code covered by the BSD License
-
ConvCode_BER_Curves()
ConvCode_BER_Curves Bit Error Rate plots for convolutional coded system.
-
ConvCode_Simulate(SNRs, simLi...
Run ConvCode_*.mdl to generate Monte Carlo simulation results for
-
Fading_BER_Curves(SNRs)
ConvCode_BER_Curves Bit Error Rate plots for convolutional coded system.
-
Fading_Simulate(SNRs, varargi...
This function runs RayleighFlatFading_PSK*.mdl models
-
PAM_Gray_Code()
Returns the Gray symbol ordering for M-ary PAM signals
-
PSK_BER_Curves(SNRs)
PSK_BER_Curves Bit Error Rate plots for PSK signals over AWGN Channel.
-
PSK_SER_Curves(SNRs)
PSK_SER_Curves Symbol Error Rate plots for PSK signals over AWGN Channel.
-
PSK_Simulate
Run M_PSK_Model.mdl to generate Monte Carlo simulation results for
-
PSK_Simulate(SNRs, varargin)
Run M_PSK_Model.mdl to generate Monte Carlo simulation results for
-
PSK_Simulate(SNRs, varargin)
Run M_PSK_Model.mdl to generate Monte Carlo simulation results for
-
QAM_BER_Curves(SNRs)
QAM_BER_Curves Bit Error Rate plots for QAM signals over AWGN Channel.
-
QAM_Simulate(SNRs, varargin)
Run M_QAM_Model.mdl to generate Monte Carlo simulation results for
-
RectQAM_const(M)
RectQAM_const Rectangular QAM Constellation points with Gray mapping.
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
example_sel2html(fn,new)
Convert Dick Benson's example_sel text files to HTML documents
-
rectQAM_const(M)
% M-PAM bit/symbol ordering
-
save_as_old_ver(ver_num)
-
RunMe.m
-
registerImage.m
-
run_me.m
-
run_me.m
-
run_me.m
-
run_me.m
-
run_me.m
-
ConvCode_Quantized_F
-
M_PSK_Model
-
M_PSK_Model
-
M_PSK_Model_8b
-
M_QAM_Model
-
covdata
-
covdata
-
covdata
-
covdata
-
covdata
-
covdata
-
View all files
from
Communication Systems Reference Curves
by Idin Motedayen-Aval
These files show how to match expected theoretical results by Monte Carlo simulations.
|
| rectQAM_const(M)
|
function const_pts = rectQAM_const(M)
%
% M-PAM bit/symbol ordering
[bo so] = PAM_Gray_Code;
k = log2(M);
I = 2^ceil(k/2);
Q = 2^floor(k/2);
% Produce PAM constellation points for in-phase and quadrature
I_t = -(I-1):2:I-1;
Q_t = Q-1:-2:-(Q-1);
% Re-order based on the PAM Gray mapping
for i=1:length(I_t)
I_pts(so{log2(I)}(i)+1) = I_t(i);
end
for i=1:length(Q_t)
Q_pts(so{log2(Q)}(i)+1) = Q_t(i);
end
for i=0:M-1
MSBs = floor(i/I);
LSBs = i-MSBs*I;
QAM_I(i+1) = I_pts(LSBs+1);
QAM_Q(i+1) = Q_pts(MSBs+1);
end
const_pts=complex(QAM_I,QAM_Q);
|
|
Contact us at files@mathworks.com