Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

psi (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: advanced

Requires: MathScript RT Module

Syntax

c = psi(a)

c = psi(b, a)

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.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

gamma
gamma_incomplete
gamma_ln


 

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