Midpoint Riemann Sum Approximation
Mostrar comentarios más antiguos
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)
Use "trapz".
1 comentario
Julio
el 9 de Ag. de 2026 a las 18:10
x=a+dx/2:dx:b-dx/2;
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!