how to set up a function involving integrals integral bounds
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Maggie liu
am 29 Jul. 2021
Kommentiert: Maggie liu
am 2 Aug. 2021
I'm trying to set up a function that looks like where a is a constant.
how can I do this? when I try using the following code, it tells me that "Limits of integration must be double or single scalars."
Many thanks!
syms f(x)
f(x) = integral(fun,a,x);
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 29 Jul. 2021
The integral function is for numeric integration.
The int function is for symbolic integration.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!