matlab误差函数作用,误差函数导论与erfi函数的matlab编程(erf based on 2 papers and erfi matlab code)...

您所在的位置:网站首页 erfi表示什么函数 matlab误差函数作用,误差函数导论与erfi函数的matlab编程(erf based on 2 papers and erfi matlab code)...

matlab误差函数作用,误差函数导论与erfi函数的matlab编程(erf based on 2 papers and erfi matlab code)...

2024-07-16 13:31:01| 来源: 网络整理| 查看: 265

In mathematics, the error function (also called the Gauss error function) is a special function (non-elementary) of sigmoid shape that occurs in probability, statistics, and partial differential equations describing diffusion. It is defined as:

e2a883787be7708106616cf1fdc4d0f8.png

The complementary error function, denoted erfc, is defined as

51740524623686c81e34fd1d989cdecb.png

Which also defines erfcx, the scaled complementary error function(which can be used instead of erfc to avoid arithmetic underflow).

The imaginary error function, denoted erfi, is defined as

c23293076ca01197f2068d4a73ca5cfc.png,

Where D(x) is the Dawson function (which can be used instead of erfi to avoid arithmetic overflow).When the error function is evaluated for arbitrary complex arguments z, the resulting complex error function is usually discussed in scaled form as the Faddeeva function:

85733eba6cbf6f6aabc788a25eca1617.png

2篇关于误差函数的文献

由于MATLAB的所有版本已经拥有erf、erfc及其逆函数的代码,但是只有R2014a才有erfi函数的代码,下面将给出erfi函数的MATLAB(R2014a)代码。本帖隐藏的内容function ans=erfi(x)

% %erfi(x). The Imaginary error function, as it is defined in Mathematica

% %erfi(z)==erf(iz)/i (z could be complex) using

% %the incomplete gamma function in matlab: gammainc

% %Using "@": erfi = @(x) real(-sqrt(-1).*sign(x).*gammainc(-x.^2,1/2))

% %Note: limit(x->0) erfi(x)/x -> 2/sqrt(pi)

%

% %Example 1:

% x=linspace(0.001,6,100);

% y=exp(-x.^2).*erfi(x)./2./x;

% figure(1), clf;plot(x,y*sqrt(pi))

%

% %Example 2:

% [x,y]=meshgrid(linspace(-3,3,180),linspace(-3,3,180));

% z=x+i*y;

% figure(1), clf;contourf(x,y,log(erfi(z)))

% axis equal;axis off

xc=5.7;%cut for asymptotic approximation (when x is real)

ans=~isreal(x).*(-(sqrt(-x.^2)./(x+isreal(x))).*gammainc(-x.^2,1/2))+...

isreal(x).*real(-sqrt(-1).*sign(x).*((x

(x>=xc).*exp(x.^2)./x/sqrt(pi));

其数值形式的MATLAB Code为

function f=erfi1(y)

fun=inline('exp(x.^2)*2/sqrt(pi)','x');

f=quadl(fun,0,y);



【本文地址】

公司简介

联系我们

今日新闻


点击排行

实验室常用的仪器、试剂和
说到实验室常用到的东西,主要就分为仪器、试剂和耗
不用再找了,全球10大实验
01、赛默飞世尔科技(热电)Thermo Fisher Scientif
三代水柜的量产巅峰T-72坦
作者:寞寒最近,西边闹腾挺大,本来小寞以为忙完这
通风柜跟实验室通风系统有
说到通风柜跟实验室通风,不少人都纠结二者到底是不
集消毒杀菌、烘干收纳为一
厨房是家里细菌较多的地方,潮湿的环境、没有完全密
实验室设备之全钢实验台如
全钢实验台是实验室家具中较为重要的家具之一,很多

推荐新闻


图片新闻

实验室药品柜的特性有哪些
实验室药品柜是实验室家具的重要组成部分之一,主要
小学科学实验中有哪些教学
计算机 计算器 一般 打孔器 打气筒 仪器车 显微镜
实验室各种仪器原理动图讲
1.紫外分光光谱UV分析原理:吸收紫外光能量,引起分
高中化学常见仪器及实验装
1、可加热仪器:2、计量仪器:(1)仪器A的名称:量
微生物操作主要设备和器具
今天盘点一下微生物操作主要设备和器具,别嫌我啰嗦
浅谈通风柜使用基本常识
 众所周知,通风柜功能中最主要的就是排气功能。在

专题文章

    CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭