Built in function for integral

9 views (last 30 days)
Kyle Zarmair
Kyle Zarmair on 15 Jul 2014
Answered: Star Strider on 15 Jul 2014
Hi,
I was wondering if there is a built in function for computing an integral?
Thank you.

Answers (1)

Star Strider
Star Strider on 15 Jul 2014
There are several, depending on how you want to do it.
  • integral and its friends will take function arguments;
  • trapz and its friends will take vector or matrix data;
  • int does symbolic integration (Symbolic Math Toolbox)

Community Treasure Hunt

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

Start Hunting!