Integration in MATLAB with symbolic integration limits

조회 수: 28 (최근 30일)
Kent Cumpio
Kent Cumpio 2013년 9월 18일
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.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 18일
syms x
y=x^2
f=int(y,1,x) % integration between 1 and x

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by