HE/calculate_CDF.m

4 lines
113 B
Mathematica
Raw Normal View History

2024-03-30 16:35:40 +08:00
function [CDF] = calculate_CDF(data,PAPR_bin)
count = hist(data,PAPR_bin);
CDF = cumsum(count)/sum(count);
end