2-D integral of function with >2 params (but only 2 variables)
2 ビュー (過去 30 日間)
古いコメントを表示
Is there a slick method for me to do a 2-D integral (ie, using quad2d) for a function with more than 2 varaibles, but specifying actual values for the other variables in the function?
To be more specific, say I have a function:
f(x, y, z, t)
I want to integrate f in 2-D over x and y using an Adaptive Simpson's Method (ie, quad2d), for certain fixed values of z and t.
How would I go about performing this operation in MatLab?
0 件のコメント
採用された回答
Walter Roberson
2013 年 8 月 30 日
fixedZ = 9.2;
fixedT = 118;
integral( @(x, y) f(x, y, fixedZ, fixedT), ....)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!