Member of the advanced class.
c = betaln(a, b)
Computes the natural logarithm of the beta function of the input elements. When the input elements are scalar, betaln(a, b) is equivalent to log(beta(a, b)).
| Name | Description |
| a | Specifies a matrix or a scalar number. If b is a matrix, a is a matrix of the same size as b. |
| b | Specifies a matrix or a scalar number. If a is a matrix, b is a matrix of the same size as a. |
| Name | Description |
| c | Returns the natural logarithm of the beta function. c is a matrix of the same size as a or b. |
A = 0:0.01:1;
B = 5;
C = betaln(A, B);
plot(A, C)