comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: trapezoidal
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: trapezoidal [message #44895] Sat, 23 July 2005 11:13
Craig Markwardt is currently offline  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
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: trapezoidal
Next Topic: Re: MPFITFUN Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:39:13 PDT 2025

Total time taken to generate the page: 0.47852 seconds