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!