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

5 Ansichten (letzte 30 Tage)
Ved
Ved am 11 Nov. 2013
Beantwortet: Ben Petschel am 12 Nov. 2013
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.

Antworten (1)

Ben Petschel
Ben Petschel am 12 Nov. 2013
If you have the stats toolbox:
ecdf(data,'function','survivor')
will plot the CCDF.

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by