Channel model impairment in MATLAB

This section of MATLAB source code covers channel model impairment and rayleigh channel effect on constellation diagram using matlab code.

Part A and PART C of the matlab code is same as mentioned on AWGN page.

Source code - PART B

%Adding Rayleigh channel
choice=input('Enter 1 to apply the channel, other no. to bypass:');
%10 Hz;sample time=0.1e-3;

if(choice==1)
ts=(256/4e6);
doppler=0.1;
tau=[0.0 0.4 0.9];
pdb=[0 -15 -20];
chan = rayleighchan(ts,doppler,tau,pdb);
%TS is the sample time of the input %0.1e-3;
%signal, in seconds. FD is the maximum Doppler shift, in Hertz. %100 Hz
map_out_chl=filter(chan,mapper_out_ori);
figure;plot(real(map_out_chl),imag(map_out_chl),'r+');title('constellation with channel');
else
disp('no channel applied proceed to DC offset');
end

Input and output constellation diagram

constellation input
channel effect on constellation

DOWNLOAD CHANNEL MODEL MATLAB CODES

Following are matlab codes for channel models viz. SUI channel model, ITU-T channel model as per wimax 802.16e standard, JTC channel model as per 802.11b/11g, UWB channel model as per 802.15.3 and 802.15.4 standard specifications. 802.11a WLAN channel model matlab files
802.11b 11g JTC WLAN channel model matlab files
802.15.3 UWB channel model matlab files
802.15.4 UWB channel model matlab files
802.16d SUI WiMAX channel model matlab files
802.16e ITU-T channel model matlab files
Rayleigh channel model matlab files
Rician channel model matlab files

Useful Links to MATLAB codes

Refer following as well as links mentioned on left side panel for useful MATLAB codes.
OFDM Preamble generation  Time off estimation corr  Freq off estimation corr  channel estimation  11a WLAN channel  PN sequence generation  OFDMA Tx Rx  AES DES  carrier aggregation  CCDF  FIR Filter  IIR Filter  Low Pass FIR  Viterbi decoder  CRC8 CRC32 

RF and Wireless tutorials

WLAN  802.11ac  802.11ad  wimax  Zigbee  z-wave  GSM  LTE  UMTS  Bluetooth  UWB  IoT  satellite  Antenna  RADAR