Help on double integral Again
1 次查看(过去 30 天)
显示 更早的评论
I tried to solve an integral problem using Matlab's built-in function dblquad as follows;
R = 0.0067; D = 1.1111; K = 100; dblquad( @(x,y) exp(-R*(y-x))*((((y+D)/(x+D)))^(R*(K+D)+1))*(1/((y+D)*y)), 0, 100, 100, inf)
but I have got the following error messages; LOOKING FOR YOUR HELP; THANK YOU;
??? Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> @(x,y)exp(-R*(y-x))*((((y+D)/(x+D)))^(R*(K+D)+1))*(1/((y+D)*y))
Error in ==> quad at 77
y = f(x, varargin{:});
Error in ==> dblquad>innerintegral at 78
Q(i) = quadf(intfcn, xmin, xmax, tol, trace, y(i), varargin{:});
Error in ==> quad at 77
y = f(x, varargin{:});
Error in ==> dblquad at 54
Q = quadf(@innerintegral, ymin, ymax, tol, trace, intfcn, ...
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!