.Modelica.Math.Special.sinc

Information

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

Interface

function sinc
  extends Modelica.Icons.Function;
  input Real u "Input argument";
  output Real y "= sinc(u) = sin(u)/u";
end sinc;

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control

Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos