How to evaluate integral with given constant ?
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!