http://www.mathworks.com/matlabcentral/newsreader/view_thread/268615
MATLAB Central Newsreader  Calculating and plotting CCDF?
Feed for thread: Calculating and plotting CCDF?
enus
©19942014 by MathWorks, Inc.
webmaster@mathworks.com
MATLAB Central Newsreader
http://blogs.law.harvard.edu/tech/rss
60
MathWorks
http://www.mathworks.com/images/membrane_icon.gif

Thu, 17 Dec 2009 08:06:52 +0000
Calculating and plotting CCDF?
http://www.mathworks.com/matlabcentral/newsreader/view_thread/268615#702970
Adshak
Dear ALL,<br>
<br>
Say I have data In X which is a vector. cdfplot(X) gives me the cdf<br>
plot, which is absolutely fine for my requirements.<br>
<br>
Now, how can I plot the complimentary CDF (CCDF) plot in the same way?<br>
Can I use the cdfplot comman somewhere?<br>
<br>
Can you please kindly give me an example in .m code?<br>
<br>
Thank you very much in advance.<br>
<br>
Adshak

Wed, 24 Feb 2010 18:06:04 +0000
Re: Calculating and plotting CCDF?
http://www.mathworks.com/matlabcentral/newsreader/view_thread/268615#720924
mahmud_dbm
Adshak <adshaikh.hipnet@googlemail.com> wrote in message <a9c0dbadd57c4a48ab81607a31657697@m16g2000yqc.googlegroups.com>...<br>
> Dear ALL,<br>
> <br>
> Say I have data In X which is a vector. cdfplot(X) gives me the cdf<br>
> plot, which is absolutely fine for my requirements.<br>
> <br>
> Now, how can I plot the complimentary CDF (CCDF) plot in the same way?<br>
> Can I use the cdfplot comman somewhere?<br>
> <br>
> Can you please kindly give me an example in .m code?<br>
> <br>
> Thank you very much in advance.<br>
> <br>
> Adshak<br>
<br>
ooooh......<br>
<br>
find out cdf first using any BI function say, ecdf(x) i.e... ccdf=1ecdf(x);<br>
<br>
plot(ccdf)..<br>
<br>
you are done..!! Go, have a party.. :))