Matlab如何求积分方程组内的参数。
이전 댓글 표시
各位大神,积分方程组如图所示,求组内参数a和b

尝试代码如下:
LL=1/100000;
UL=1/10000;
eq=@(a,b,x)(b^a/gamma(a))*x^(a-1)*exp(-1*x*b);
eq1=@(a,b)integral(@(x)eq(a,b,x),0,LL)-0.3;
eq2=@(a,b)integral(@(x)eq(a,b,x),0,UL)-0.9;
eq3=@(x)[eq1(x(1),x(2));eq2(x(1),x(2))];
[a,b]=fsolve(eq3,[0.1;6000])
运行程序后显示:
出错 tt (line 11)
[a,b]=fsolve(eq3,[0.1;6000])
原因:
Failure in initial objective function evaluation. FSOLVE cannot continue.
但是无论我怎么更改初值,都是报错,求大神们支招,谢谢!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 启动和关闭에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!