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

Home » Public Forums » archive » FINDGEN function - Question
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: FINDGEN function - Question [message #92858 is a reply to message #92855] Tue, 15 March 2016 05:32 Go to previous messageGo to previous message
Burch is currently offline  Burch
Messages: 28
Registered: December 2013
Junior Member
On Tuesday, March 15, 2016 at 6:51:27 AM UTC-5, dmfl...@gmail.com wrote:
> Hi
>
> I created a floating point array using the FINDGEN function, e.g. A = FINDGEN(10).
> I want to change the default starting point and make it 0.5. Also I want the maximum point to be 7.5 instead of 9 (but still be a 10 floating point array).
>
> Can anyone help with this?
>
> I am using an old version of IDL so I cannot use the keyword START and INCREMENT to change the defaults.
>
>
> Thank you

Ok, sorry for the multiple posts. I'm not so good with computers this morning apparently...

A = (7.0/9.0) * findgen(10) + 0.5

-Jeff
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dealing with list created by STRSPLIT?
Next Topic: speeding up code for fitting spectra for doppler map

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

Current Time: Wed Oct 08 13:58:12 PDT 2025

Total time taken to generate the page: 0.00454 seconds