Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

psi (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the advanced class.

Syntax

c = psi(a)

c = psi(a, b)

Description

Computes the psi, or digamma, function.

Details

Examples

Inputs

Name Description
a Specifies a matrix of positive real numbers.
b Specifies the derivative to use to compute the psi function.

Outputs

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.

Details

LabVIEW computes the psi function using the following equation: c = (1/gamma(a))*d(gamma(a))/da.

Examples

A = [0:0.01:2];
C = psi(A);
plot(A, C)

Related Topics

gamma
gammainc
gammaln


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit