Evaluate an integral using MATLAB
이전 댓글 표시
I would like to numerically evaluate the following integral using MATLAB:
∫(3x^2 + 2x + 1) dx
Since I don't have the Symbolic Math Toolbox, how can I use MATLAB to approximate this integral using numerical methods? Could you provide an example?
채택된 답변
추가 답변 (1개)
If you can't do it manually, getting the indefinite integral is not possible without the symbolic toolbox.
If you want to evaluate the integral in specified limits, use "integral":
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!