How to integrate using Matlab 2012a?

6 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh il 29 Ago 2014
Modificato: Salaheddin Hosseinzadeh il 29 Ago 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!

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by