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

bessel (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: advanced

Requires: MathScript RT Module

Syntax

jv = bessel(v, x)

jv = bessel(v, x, 1)

[jv, error] = bessel(v, x)

[jv, error] = bessel(v, x, 1)

Description

Computes the Bessel function of the first kind of a given order.

Inputs

Name Description
v Specifies the order of the Bessel function. v is a real, double-precision, floating-point positive scalar, vector, or matrix.
x Specifies the value for which you want to compute the Bessel function. x is a real or complex, double-precision, floating-point scalar, vector, or matrix.
1 Scales the computation. bessel_j(v, x, 1) scales bessel_j(v, x) by exp(-abs(imag(x))).

Outputs

Name Description
jv Returns the Bessel function of the first kind. jv is a real or complex, double-precision, floating-point scalar, vector, or matrix.
error Returns error information about the evaluation of the Bessel function. error is a matrix of integers in which each element can return the following values.

0 Indicates that no error occurred.
1 Indicates that you specified invalid inputs.
2 Indicates that the result is too large for the data type of jv. Use the scaling option 1.
3 Indicates that LabVIEW achieved less than half the machine accuracy in the calculation because |x| or v is greater than approximately 1.3E8.
4 Indicates that the result is meaningless because |x| or v is greater than approximately 1.8E16.
5 Indicates that the calculation did not reach the termination condition so LabVIEW did not complete the calculation.

Related Topics

airy
bessel_h
bessel_i
bessel_j
bessel_k
bessel_y
besselchk


 

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