Built in function for integral

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)

Asked:

on 15 Jul 2014

Answered:

on 15 Jul 2014

Community Treasure Hunt

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

Start Hunting!