How to evaluate integral with given constant ?
Mostrar comentarios más antiguos
syms x; f = 'h*x'; h =3; int(sym(f))
My code gives (h*x^2)/2
But I want it to evaluate it for h = 3 and then print the answer
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!