Re: trapezoidal [message #44895] |
Sat, 23 July 2005 11:13 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
"helena" <helena@met.utah.edu> writes:
> there are irregular data of precipitation versus time. for that i want
> to sum up every 4 values with the trapezoidal rule. in
> http://idlastro.gsfc.nasa.gov/ftp/pro/math/trapzd.pro, you have to
> enter a function which i dont have. somebody has any other idea?
> thank you very much
If you are using the IDL astronomy library, then why not use the
TSUM() function, which performs trapezoidal-rule integration on a
tabulated array?
Good luck,
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|