MATLAB Answers

0

Weibul distribution. what is that?

Asked by uncung fgv 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.

  3 Comments

You should ask wikipedia what is a weibull distribution.
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?
What is the CDF of a Weibull? These types of questions are best answered by your supervisor or colleagues. Noting about this question is related to MATLAB.

Sign in to comment.

Tags

0 Answers