Midpoint Riemann Sum Approximation

11 次查看(过去 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 CenterFile Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by