dblquad and double integral problem
2 次查看(过去 30 天)
显示 更早的评论
i want to use dblquad command to solve my problem but it is a symbolic Algebra matrix which is very big. so i use a simple 2by2 matrix to disp it .i wanto to expand 16by16 matrix .can anyone help me.
i have a file which is my 16by16 matrix.thanks,i want to double integral it(the varaible is ks and yt and region is -1<=ks<=1、-1<=yt<=1)
example:
a={@(x,y)(2.*x+y.^3),@(x,y)(x+2*y.^3);@(x,y)(x+3*y.^3),@(x,y)(x+4*y.^3)};
for i=1:4 matrix(i)=dblquad(a{i},-1,1,-1,1); end reshape(matrix,2,2)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Computations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!