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

Home » Public Forums » archive » Re: Numerical integration
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Numerical integration [message #56803 is a reply to message #56801] Thu, 15 November 2007 13:00 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Nov 15, 2:58 pm, tarequea...@gmail.com wrote:
> Hello Gurus,Pundits& Bosses of IDL,
>
> Need help on 'int_tabulated'. One of the array has duplicate
> elements(=same elements) and thus int_tabulated refuses to move any
> further.
>
> Is there any way out?

So you have a jump in your function (where Y changes but X stays the
same)? INT_TABULATED won't like this because it interpolates the
data, and your function is not smooth. You could try just a
simple trapezoidal integration, such as in the function
http://idlastro.gsfc.nasa.gov/ftp/pro/math/tsum.pro

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: reduce width of a blank
Next Topic: Re: version 7

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

Current Time: Wed Oct 08 17:53:25 PDT 2025

Total time taken to generate the page: 0.00174 seconds