Contents Previous Next Subchapters

Weibull Cumulative Density Function
Syntax wblcdf(Xshapescalelocation)
See Also rand , cnormal , normpdf , wblpdf

Description
Computes the Weibull CDF at each of the values in X. The value returned has the same type, column dimension and row dimension as X.

Example
If at the O-Matrix prompt you enter,
shape = { 2, 2, 3, 4 }
scale = { 0.5, 1.0, 1.5, 3.0 }
location = 0
x = 0.001:0.001:10
N = rowdim(x)
y1 = zeros(N,4)
y2 = zeros(N,4)
for i = 1 to 4 begin
     shapei = shape(i)
     scalei = scale(i)
     y2(:,i) = wblcdf(x,shapei,scalei,location)
end
gyaxis("linear",0,1,10)
gxaxis("linear",0,5,10)
gcolor({"red","green","blue","purple"})
gplot(x,y2)

O-Matrix will generate the following plot