How to do integration using Matlab

How do I integrate (x^t*sin(x) *log(x)) dx in MATLAB for limit '3' to 't'? What are the codes to run this calculation?

回答 (1 件)

Star Strider
Star Strider 2019 年 10 月 1 日

0 投票

See the integral function documentation.

1 件のコメント

Steven Lord
Steven Lord 2019 年 10 月 1 日
That could work if t has a fixed value. If Prem Patel wants the integral as a function of t, using the int function in Symbolic Math Toolbox to integrate this function symbolically is probably a better fit. You might need to make some assumptions on the symbolic variable t for that integration to succeed.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2019 年 10 月 1 日

コメント済み:

2019 年 10 月 1 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by