Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Calculating and plotting CCDF?

Subject: Calculating and plotting CCDF?

From: Adshak

Date: 17 Dec, 2009 08:06:52

Message: 1 of 2

Dear ALL,

Say I have data In X which is a vector. cdfplot(X) gives me the cdf
plot, which is absolutely fine for my requirements.

Now, how can I plot the complimentary CDF (CCDF) plot in the same way?
Can I use the cdfplot comman somewhere?

Can you please kindly give me an example in .m code?

Thank you very much in advance.

Adshak

Subject: Calculating and plotting CCDF?

From: mahmud_dbm

Date: 24 Feb, 2010 18:06:04

Message: 2 of 2

Adshak <adshaikh.hipnet@googlemail.com> wrote in message <a9c0dbad-d57c-4a48-ab81-607a31657697@m16g2000yqc.googlegroups.com>...
> Dear ALL,
>
> Say I have data In X which is a vector. cdfplot(X) gives me the cdf
> plot, which is absolutely fine for my requirements.
>
> Now, how can I plot the complimentary CDF (CCDF) plot in the same way?
> Can I use the cdfplot comman somewhere?
>
> Can you please kindly give me an example in .m code?
>
> Thank you very much in advance.
>
> Adshak

ooooh......

find out cdf first using any BI function say, ecdf(x) i.e... ccdf=1-ecdf(x);

plot(ccdf)..

you are done..!! Go, have a party.. :))

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us