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

Home » Public Forums » archive » generating sequences
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
generating sequences [message #85841] Fri, 13 September 2013 12:01 Go to previous message
spluque is currently offline  spluque
Messages: 33
Registered: September 2013
Member
Hi,

I thought this should be very easy, but I cannot find how to do it IDL. Say we have a vector with a few starting values:

a=[1, 12, 90]

and we want to generate sequences of 3 numbers starting with these values, so that we end up with:

[1, 2, 3, 12, 13, 14, 90, 91, 92]

How is this done in IDL?

Thanks,
Seb
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: strsplit vectorized
Next Topic: Re: Filled area curve

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

Current Time: Wed Oct 08 15:07:14 PDT 2025

Total time taken to generate the page: 0.00488 seconds