Midpoint Riemann Sum Approximation
古いコメントを表示
Hello. I'm looking for an example of using the Midpoint Riemann Sum Approximation to integrate a function over a vector. My independent variable is 10K data points on a log scale representing different wave lengths. My dependent variable is Planck's Function.
I appreciate your time and consideration.
回答 (1 件)
Use "trapz".
1 件のコメント
Julio
2026 年 8 月 9 日 18:10
x=a+dx/2:dx:b-dx/2;
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!