trapezoidal numerical integration within a function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello :)
I need to perform a trapezoidal intergration however i am unsure how to do this inside a fuction as i have only every done it with out. any help is very much apriacted.
댓글 수: 3
Ameer Hamza
2020년 5월 15일
Are you trying to integrate x*sin(x) from 1 to 100? What is the role of 'inarray' here?
답변 (1개)
Nikhil Sonavane
2020년 5월 19일
I would suggest you go through the documentation of trapz function as that would help you trapezoidal numerical integration efficiently.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!