beta

Beta function.

Syntax

x=beta(a,b)

Inputs

a,b
Type: double | integer
Dimension: scalar | vector | matrix

Outputs

x
Beta function values.
Dimension: scalar | vector | matrix

Examples

Simple beta example:

x=beta(2,4)
x = 0.05
Matrix beta example:
x=beta([2 3; 4 5], [1 2; 3 4])
x = [Matrix] 2 x 2
0.50000  0.08333
0.01667  0.00357