how to set up a function involving integrals integral bounds
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Steven Lord
il 29 Lug 2021
The integral function is for numeric integration.
The int function is for symbolic integration.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!