Numerical integration in Matlab
古いコメントを表示
Evaluate the integral as a function of x and t. I want to perform numerical integration over x. The integral is:

Can someone help me solve it using MATLAB?
Thanks in advance.
Raj.
5 件のコメント
Walter Roberson
2020 年 9 月 19 日
integral() or trapz()
hint: use the ./ operator not the / operator
Walter Roberson
2020 年 9 月 19 日
There is only a single integration symbol. You can only integrate over one variable. We cannot tell which variable as the d* was left out. It would make the most sense if it were x, which would also be consistent with your statement that you want to numerically integrate over x.
Because you are integrating over a single variable, you need a specific numeric t if you want to do numeric integration. If you want the result with t as a variable then you would have to use symbolic integration.
Raj Patel
2020 年 9 月 19 日
Walter Roberson
2020 年 9 月 19 日
Note that the integration is discontinuous as t crosses 0
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differentiation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!