What is the easiest way to calculate the triple definite integral of a symbolic vector over arbitrary domain without using for loop?
3 ビュー (過去 30 日間)
古いコメントを表示
What is the easiest way to calculate the triple integral of a symbolic vector over arbitrary domain without using for loop? e,g, -1<x,y,z<1
syms x y z
V=[sin(x*y*z), cos(z)*z*x, x*y*z^3, x+cos(z)*x]
0 件のコメント
採用された回答
David Hill
2022 年 9 月 8 日
syms x y z
V=[x,y,z];
I=int(int(int(V,x),y),z);%recognize the definite integrals do not exist for many integrals (this works but your V would be in terms in integrals)
2 件のコメント
David Hill
2022 年 9 月 8 日
syms x y z
V=[sin(x*y*z), cos(z)*z*x, x*y*z^3, x+cos(z)*x];
vpaintegral(vpaintegral(vpaintegral(V,x,-1,1),y,-1,1),z,-1,1)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!