Member of the advanced class.
c = psi(a)
c = psi(a, b)
Computes the psi, or digamma, function.
| Name | Description |
| a | Specifies a matrix of positive real numbers. |
| b | Specifies the derivative to use to compute the psi function. |
| Name | Description |
| c | Returns the psi function of a. If you specify b, c returns the b-th derivative of psi(a). c is a real matrix. |
LabVIEW computes the psi function using the following equation: c = (1/gamma(a))*d(gamma(a))/da.
A = [0:0.01:2];
C = psi(A);
plot(A, C)