function [CDF] = calculate_CDF(data,PAPR_bin) count = hist(data,PAPR_bin); CDF = cumsum(count)/sum(count); end