cdfplot

9 vues (au cours des 30 derniers jours)
Abex
Abex le 10 Fév 2012
Dear all, I know this is easy for most of you but I am new for matlab and I need your help. I want to construct a commulative ditribution plot for my output say vector X and I used cdfplot(X). The problem is I want to set the values of x axix in cdfplot(X) other vector E. Can any one suggest me how. Thank you Abex

Réponses (2)

the cyclist
the cyclist le 10 Fév 2012
I am not 100% sure I know what you mean, but is it something like this?
x = randn(1000,1);
cdfplot(x)
set(gca,'XTick',-3:3,'XTickLabel',{'q','w','e','r','t','y','!'})

Tom Lane
Tom Lane le 10 Fév 2012
Also not 100% sure, but consider using the ECDF function and plotting however you want. Also you could use those outputs with a function such as interp1 to evaluate the ecdf at other points, if you are satisfied with the interpolation methods available.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by