Midpoint Riemann Sum Approximation

11 visualizaciones (últimos 30 días)
Jordan David
Jordan David el 28 de Abr. de 2023
Movida: Torsten el 29 de Abr. de 2023
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.

Respuestas (1)

Torsten
Torsten el 29 de Abr. de 2023
Movida: Torsten el 29 de Abr. de 2023
Use "trapz".

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by