Midpoint Riemann Sum Approximation

1 回表示 (過去 30 日間)
Jordan David
Jordan David 2023 年 4 月 28 日
移動済み: Torsten 2023 年 4 月 29 日
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 件)

Torsten
Torsten 2023 年 4 月 29 日
移動済み: Torsten 2023 年 4 月 29 日
Use "trapz".

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by