plot and calculate integral
2 ビュー (過去 30 日間)
古いコメントを表示
I need to create a script that calculates and plots an integral of any function. I am not allowed to use quad, I'm supposed to replace quad I guess. I am completely lost, does anyone know what to do?
Cheers
0 件のコメント
採用された回答
その他の回答 (1 件)
Roger Stafford
2016 年 5 月 16 日
I wrote a routine for the File Exchange which computes a cumulative integral using cubic (third degree) approximation which you might like to use. It can be downloaded from:
http://www.mathworks.com/matlabcentral/fileexchange/19152-cumulative-cubic-integration
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!