Integration in MATLAB with symbolic integration limits

30 Ansichten (letzte 30 Tage)
Kent Cumpio
Kent Cumpio am 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by