181
Appendix A: MATLAB
®
Simulation
Codes for Chapters 1 through 4
%*****************************************************
% HPA transfer function
%*****************************************************
% Initialization
clear all;
close all;
clc;
%=====================================================
% Setting Parameters
%=====================================================
% OFDM System Parameters
N = 256; % length of OFDM IFFT
(16,32,64,...,2^n)
M = 16; % number of QAM
constellation points (4,16,64,256)
numOfZeros = N/4+1; % numOfZeros must be an
odd number and lower
% than N. The zero padding
operation is
% necessary in practical
implementations.