Description
Computes the normal PDF 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)
y1(:,i) = wblpdf(x,shapei,scalei,location)
end
gyaxis("linear",0,2,20)
gxaxis("linear",0,5,10)
gcolor({"red","green","blue","purple"})
gplot(x,y1)
O-Matrix will generate the following plot