Weibul distribution. what is that?

1 次查看(过去 30 天)
uncung fgv
uncung fgv 2012-4-25
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 个评论
uncung fgv
uncung fgv 2012-4-25
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
Daniel Shub 2012-4-25
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.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by