How to integrate using Matlab 2012a?

1 次查看(过去 30 天)
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

采纳的回答

Salaheddin Hosseinzadeh
编辑:Salaheddin Hosseinzadeh 2014-8-29
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by