How to do the matlab integral algorythm of a function using numerical methods?

Answers (1)

Hi Altin,
Indefinite integration can be done in matlab using the int() function. For the above function the codes are
syms x;
int(x^3+9/x,x);
You integrate numerically if limits are provided using Trapezoidal method. http://in.mathworks.com/help/matlab/ref/trapz.html#bua4lsr

This question is closed.

Products

Asked:

on 5 May 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!