|
|
|
Re: How to produce N members between a and b with a determined spacing? [message #68715 is a reply to message #68574] |
Tue, 17 November 2009 01:02  |
a.mozafari1211
Messages: 16 Registered: February 2009
|
Junior Member |
|
|
On Nov 16, 7:05 am, David Fanning <n...@dfanning.com> wrote:
> ali mozafari writes:
>> Thank you David. How if we don?t know (b). I mean producing N numbers
>> with Spacing (s) and initial number (a).
>
> And, if you wanted to N numbers between A and B:
>
> numbers = Scale_Vector(Findgen(N), a, b)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thank you David.
Cheers
|
|
|