How to do the matlab integral algorythm of a function using numerical methods?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (1)
Gopalkrishna Bhat
on 5 May 2015
0 votes
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!