Jn (FPScript)

21.09.2021

Calculates the Bessel function of the first kind with the order specified.

Syntax

Jn(n, Number)

 

The syntax of the Jn function consists of the following parts:

Part

Description

n

The order.

Permitted data structures are scalar value. All integral data types are permitted.

The value must be greater or equal to 0.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Number

The argument for the function.

All data structures are allowed. All numeric data types are permitted.

For complex data types the absolute value is formed.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Remarks

The data type of the result is always 64-bit floating point.

The structure of the result corresponds to that of the argument Number. The calculation is done element-by-element where appropriate.

The result has the unit 1, if Number has a unit. Otherwise, it has no unit.

For aggregate data structures, only the Y component is calculated.

The following illustration shows the course of the function for the orders 0 to 4 within the interval [-40, 40]:

Available in

FlexPro Basic, Professional, Developer Suite

Examples

Jn(2, 0)

Results in 0.

Dim x
x = Series(-40, 40, 0.1)
Signal(Jn(2, x), x)
 

Calculates a signal with the course of the function of the order 2 within the interval [-40, 40].

See Also

J0 Function

J1 Function

Y0 Function

Y1 Function

Yn Function

Share article or send as email:

You might be interested in these articles