Error function stand alone

버전 1.0.0.0 (1.46 KB) 작성자: Giacomo Alessandroni
Y = ERF_STAND_ALONE(X) is the error function for each element of X.
다운로드 수: 33
업데이트 날짜: 2016/3/3

라이선스 보기

erf_stand_alone(x) implementation is based on formula 7.1.26 from [1]. The maximum error is below 1.5 * 10-7.
The formula [1] appears as 1 – (a1 t^1 + a2 t^2 + a3 t^3 + a4 t^4 + a5 t^5) exp(-x^2), which is absolutely correct. But directly evaluating an nth order polynomial takes O(n^2) operations, while the factorization used in the code above uses O(n) operations. This technique is known as Horner’s method.
___________________________

[1] Milton Abramowitz and Irene A. Stegun. Handbook of mathematical functions: with formulas, graphs, and mathematical tables. Vol. 55. Courier Corporation, 1964. Formula 7.1.26.

인용 양식

Giacomo Alessandroni (2024). Error function stand alone (https://www.mathworks.com/matlabcentral/fileexchange/55749-error-function-stand-alone), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Error Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0