Fast trigonometric integration

Versión 1.0.2 (4.49 KB) por Erik Koene
A fast approximation of sinint or Si(x) and cosint or Ci(x) to ~machine precision using Padé approximants.
30 descargas
Actualizado 3 Dec 2019

Ver licencia

This function approximates the integral of sinc(t)=sin(t)/t for the range of 0 to x, as well as the integral of cos(t)/t for the range x to infinity. The resulting functions are often called Si(x) and Ci(x), as e.g. found at https://en.wikipedia.org/wiki/Trigonometric_integral . The function uses Padé approximants to approximate the form of functions, and is accurate to within machine precision for the entire range of computation. The resulting functions are orders of magnitude faster than the native MATLAB implementation.

The result only applies to real-valued numbers. The Ci(x) has been continued into negative range through a mirroring procedure.

Citar como

Erik Koene (2024). Fast trigonometric integration (https://www.mathworks.com/matlabcentral/fileexchange/73535-fast-trigonometric-integration), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Calculus en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.2

updated the name*

1.0.1

Added the Ci(x) function.

1.0.0