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.

Risposte (1)

Torsten
Torsten il 29 Apr 2023
Spostato: Torsten il 29 Apr 2023

0 voti

Use "trapz".

Categorie

Scopri di più su Mathematics in Centro assistenza e File Exchange

Richiesto:

il 28 Apr 2023

Commentato:

il 9 Ago 2026 alle 18:10

Community Treasure Hunt

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

Start Hunting!

Translated by