How to calculate a definite integral with Planck's law function

10 vues (au cours des 30 derniers jours)
Miguel Ángel Bueno Sánchez
Commenté : Sarvjeet Singh le 26 Sep 2020
Hello, I have to calculate a definite integral of the Planck's law in the interval between two certain wavelength values. In-built function int() cannot do the work due to the fact that the integral should be solved using numerical methods. Could someone tell me how to calculate that integral? I am thinking of doing it the Riemann way, but I was wondering if there is an easier way.
Thanks!
  2 commentaires
Star Strider
Star Strider le 18 Oct 2017
I cannot determine from your Question what you want to do.
See the integral (link) function and related functions. (Also consider the quad (link) function and its friends if you do not have integral.)
Sarvjeet Singh
Sarvjeet Singh le 26 Sep 2020
Hi Miguel,
i am facing the same issue, can u help me ?

Connectez-vous pour commenter.

Réponses (1)

Arvind Narayanan
Arvind Narayanan le 23 Oct 2017
Hi Miguel,
You may use the integral function from MATLAB. Please note that quad function is not recommended as it will be discontinued soon.

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by