## Weibul distribution. what is that?

### uncung fgv (view profile)

on 25 Apr 2012
hi, i have function from my supervisor. this is non weibul and weibul function.
N=100; % The number
% n(k) the number
%n=[4 5 3 4 8 4 5 6 ];
P=ones(size(n));% Kumulative Probability
p=ones(size(n));% probability with number k;
L=length(n);
r=(1:L)
for m=1:L;
p(m)=n(m)/N;
end; % p(1)=0.1; P(1)=p(1);
for m=2:L;
P(m)=P(m-1)+p(m);
end;
Pfitconst=constProb(p)
figure(1)
plot(r,Pfitconst,r,P,'*'); ----------------------
h=fittype('1-exp(-a*x^b)');
[Y,par]=fit(r',P',h,'StartPoint',[1 1]);
Y
par
Pfit=Y(r);
figure(2)
plot(r,Pfit,r,P,'o');
. . . . .
i dont know what weibul is. how to explain this in an introduction in a paper.

Oleg Komarov

### Oleg Komarov (view profile)

on 25 Apr 2012
You should ask wikipedia what is a weibull distribution.
uncung fgv

### uncung fgv (view profile)

on 25 Apr 2012
wiki explain to far from my equation:
h=fittype('1-exp(-a*x^b)');
[Y,par]=fit(r',P',h,'StartPoint',[1 1]);
Y
par
Pfit=Y(r);
......
is this weibul?
Daniel Shub

on 25 Apr 2012