CCDF MATLAB code
CCDF curve is very useful for RF engineers to take care of PAPR of the time domain signal while designing RF Power amplifier.
To know basics on CCDF, Refer CCDF page in terminology section.
Source code
Another way of plotting CCDF
load file_td_data;
rx_data = time_domain_data_vector;
rx1_data=abs(rx_data).^2;
ccdf_avg=mean(rx1_data);
ccdf_IA=sort(rx1_data,'descend');
ccdf_IAR=ccdf_IA./ccdf_avg;
figure;
plot(1:length(rx_data),10*log10(ccdf_IAR),'r.');
title('CCDF PLOT');xlabel('time in sec');ylabel('PAPR');
Download mat file with name file_td_data to load time_domain_data_vector.
file_td_dataCCDF curve in MATLAB code output
Select 2 as modulation type while you run the matlab code, following CCDF curve gets plotted for the time domain data.

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