How to do integration using Matlab

5 visualizzazioni (ultimi 30 giorni)
Prem Patel
Prem Patel il 1 Ott 2019
Commentato: Steven Lord il 1 Ott 2019
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?

Risposte (1)

Star Strider
Star Strider il 1 Ott 2019
See the integral function documentation.
  1 Commento
Steven Lord
Steven Lord il 1 Ott 2019
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.

Accedi per commentare.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by