how plot complementary cumulative density function (CCDF) of data points?

suppose i have data points as:
a=2.3;
b=5.3;
n=2000; % number of data blocks
data=a+(b-a)*rand(1,1000); % data points
x=[1:.1:7]; % x-axis
How to plot the Complementary Cumulative Density Function (CCDF) of this data for such 2000 data blocks ? Any help.

답변 (1개)

If you have the stats toolbox:
ecdf(data,'function','survivor')
will plot the CCDF.

카테고리

도움말 센터File Exchange에서 Probability Density Functions에 대해 자세히 알아보기

제품

질문:

Ved
2013년 11월 11일

답변:

2013년 11월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by