How to integrate using Matlab 2012a?

1 Ansicht (letzte 30 Tage)
Michael
Michael am 29 Aug. 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

Akzeptierte Antwort

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh am 29 Aug. 2014
Bearbeitet: Salaheddin Hosseinzadeh am 29 Aug. 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!

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by