How do I perform numerical integration containing multiple variables?
5 ビュー (過去 30 日間)
古いコメントを表示
I have a function of form F=f(x,y). I need to integrate it over x numerically. I know the ranges of both x and y. What is the best way to do it?
Note: It is not a mulitple integral.
0 件のコメント
回答 (1 件)
rifat
2014 年 5 月 27 日
Since it is not a double integral, you want to integrate f(x,y) at a particular value of y=y1. Evaluate the function at y=y1. Then use trapz() command to perform numerical integration via trapezoidal method.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!