sinc

Unnormalized sinc function: sinc(u) = sin(u)/u

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Syntax

Special.sinc(u);

Description

This function computes the unnormalized sinc function sinc(u) = sin(u)/u. The implementation utilizes a Taylor series approximation for small values of u. Plot of the function:

For more details, see Wikipedia.

Example

sinc(0)   // = 1
sinc(3)   // = 0.0470400026866224

Syntax

y = sinc(u)

Inputs (1)

u

Type: Real

Description: Input argument

Outputs (1)

y

Type: Real

Description: = sinc(u) = sin(u)/u