MATLAB求这个正态函数积分值怎么求?
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/07 10:56:28
MATLAB求这个正态函数积分值怎么求?
上下限a b已知,f(x)为正态函数N(100,10^2)的密度函数
怎么求
![](http://img.wesiedu.com/upload/f/4f/f4f07d7ffe8baecbcff24733b2aed416.jpg)
5 分钟前 上传下载附件 (2.08 KB)
可以用MATLAB求吗?
上下限a b已知,f(x)为正态函数N(100,10^2)的密度函数
怎么求
![](http://img.wesiedu.com/upload/f/4f/f4f07d7ffe8baecbcff24733b2aed416.jpg)
5 分钟前 上传下载附件 (2.08 KB)
可以用MATLAB求吗?
赛姆斯西格玛万亩的XAB;%sigma标准偏差平均AB万亩限制的集成
F_X = 1/sqrt(2 * PI)/标准差* EXP( - (X-亩)^ 2/2 /西格玛^ 2);
I =(F_X,一,二)
36028797018963968分之7186705221432913*π^(1/2)* 2 ^ (1/2)* erf函数(1/2 * 2 ^(1/2)*(二-μ)/西格玛)-7186705221432913/36028797018963968 *π^(1/2)* 2 ^(1/2)* erf函数(1/2 * 2 ^(1/2)*(亩)/Σ)
>> VPA(一,二)
ANS =
>
.50 * ERF(0.70 *(b-1. *μ)/σ) - .50 * ERF(0.70 *(a-1. *μ)/σ)
>>>
再问: 怎么显示这个东西啊 ??? Error: "arrayfun" is not the name of a function nor a variable, but is used in an anonymous function either at the prompt or in the argument of EVAL
再答: clear;clc
a=90,b=110,%自己改
val=quadl(@(x)x.*normpdf(x,100,10),a,b)
再问: 嗯,谢谢 能帮忙解答一下这个问题吗 http://zhidao.baidu.com/question/589286424.html?quesup2&oldq=1
F_X = 1/sqrt(2 * PI)/标准差* EXP( - (X-亩)^ 2/2 /西格玛^ 2);
I =(F_X,一,二)
36028797018963968分之7186705221432913*π^(1/2)* 2 ^ (1/2)* erf函数(1/2 * 2 ^(1/2)*(二-μ)/西格玛)-7186705221432913/36028797018963968 *π^(1/2)* 2 ^(1/2)* erf函数(1/2 * 2 ^(1/2)*(亩)/Σ)
>> VPA(一,二)
ANS =
>
.50 * ERF(0.70 *(b-1. *μ)/σ) - .50 * ERF(0.70 *(a-1. *μ)/σ)
>>>
再问: 怎么显示这个东西啊 ??? Error: "arrayfun" is not the name of a function nor a variable, but is used in an anonymous function either at the prompt or in the argument of EVAL
再答: clear;clc
a=90,b=110,%自己改
val=quadl(@(x)x.*normpdf(x,100,10),a,b)
再问: 嗯,谢谢 能帮忙解答一下这个问题吗 http://zhidao.baidu.com/question/589286424.html?quesup2&oldq=1