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개)

Torsten
Torsten 2023년 4월 29일
이동: Torsten 2023년 4월 29일

0 개 추천

Use "trapz".

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

질문:

2023년 4월 28일

이동:

2023년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by