How to integrate using Matlab 2012a?

6 vues (au cours des 30 derniers jours)
Michael
Michael le 29 Août 2014
Hello,
How can I integrate using MATLAB 2012a? I wish to integrate precipitation over land so that I get an accumulation of precipitation with time.
I have seen the function 'int' but this is just for newer versions of MATLAB.
I have a 3d matrix x*y*t
thanks, Michael

Réponse acceptée

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh le 29 Août 2014
Modifié(e) : Salaheddin Hosseinzadeh le 29 Août 2014
Hello Micheal,
First see if you can simply use sum instead of intergral. If not then chech the link below plz.
at the end of the page you can finde related similar functions that may also be helpful. Like if you don't have a function of your data and you need to do it numerically, for which you may check
doc trapz
doc cumsum
And so more.
Good Luck!

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation 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