Sinc (FPScript)

21.09.2021

Calculates the sinc function Sin(Angle)/Angle.

Syntax

Sinc(Angle)

 

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

Part

Description

Angle

The angle in radians.

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

Remarks

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

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

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

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

The function is defined as 1 for x = 0 and Sin(x) / x for all x ≠ 0.

The following illustration shows the course of the function within the interval [-8π, 8π]:

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

For complex data types the absolute value is formed.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

Sinc(0)

Results in 1.

Sinc(2 * PI)

Results in 0.

See Also

Dirichlet Function

Share article or send as email:

You might be interested in these articles