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.

Réponses (1)

Torsten
Torsten le 29 Avr 2023
Déplacé(e) : Torsten le 29 Avr 2023

0 votes

Use "trapz".

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Commenté :

le 9 Août 2026 à 18:10

Community Treasure Hunt

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

Start Hunting!

Translated by