y=beta(x,b)| Inputs | |
x |
A real array. |
b |
A real scalar specifying the paramater of the beta function. |
| Outputs | |
y |
A real array of same same size as x . |
x , beta(x,a) returns the ibeta function evaluated
for the elements of x . The value of the function is undefined for x=0 .
>>x=[.02:.02:2]
>>y=beta(x,1);
>>z=beta(x,10);
>>plot(x,y,x,z,'b:')
>>axis([0 2])
>>legends({'b=1','b=10'})
>>title("Beta Function")
>>xlabel("X Axis")
>>ylabel("Y Axis")
