Integration in MATLAB with symbolic integration limits

26 vues (au cours des 30 derniers jours)
Kent Cumpio
Kent Cumpio le 18 Sep 2013
How can I integrate this with MATLAB?
integral from 0 to x of x^2 and can I store the resulting function into a variable?
I have tried the int function. It doesn't work for symbolic integ.limits.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 18 Sep 2013
syms x
y=x^2
f=int(y,1,x) % integration between 1 and x

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by