Fresnel integrals

版本 1.0.0.0 (33.9 KB) 作者: Peter Volegov
Computes fresnel integrals with 1*10^-9 accuracy.
5.9K 次下载
更新时间 2004/12/22

查看许可证

MEX file to compute Fresnel integrals.

[C, S] = fcs(x) returns Fresnel integrals C ans S for argument x, x must be double and real.

F = fcs(x) returns complex F = C+i*S

Algorithm:
This function uses an improved method for computing Fresnel integrals with an error of less then 1x10^-9, described in:

Klaus D. Mielenz, Computation of Fresnel Integrals. II
J. Res. Natl. Inst. Stand. Technol. 105, 589 (2000), pp 589-590

Notes for Linux implementation
Compile this with:
mex -O fcs.c

Notes for Windows implementation
Compile this with:
mex -O fcs.c -DWIN32

引用格式

Peter Volegov (2024). Fresnel integrals (https://www.mathworks.com/matlabcentral/fileexchange/6580-fresnel-integrals), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: FresnelS and FresnelC, Fresnel Integral

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0