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

Home » Public Forums » archive » conbining arrays
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: conbining arrays [message #93338 is a reply to message #93325] Thu, 16 June 2016 15:23 Go to previous messageGo to previous message
Sharad C Tripathi is currently offline  Sharad C Tripathi
Messages: 4
Registered: June 2016
Junior Member
On Thursday, 16 June 2016 15:45:04 UTC+3, Heinz Stege wrote:
> On Thu, 16 Jun 2016 03:53:41 -0700 (PDT), Sharad wrote:
>
>> On Thursday, 16 June 2016 13:25:51 UTC+3, Sharad wrote:
>>> On Wednesday, 15 June 2016 20:00:32 UTC+3, wlandsman wrote:
>>>> One of many ways to do this:
>>>>
>>>> IDL> save,a,b,c,d
>>>>
>>>> to place the variables into an IDL save set idlsave.dat that can be RESTOREd
>>>>
>>>> On Wednesday, June 15, 2016 at 10:22:02 AM UTC-4, Sharad wrote:
>>>> > How to combine following arrays in a single file?
>>>> >
>>>> > A FLOAT = Array[195]
>>>> >
>>>> > B FLOAT = Array[1440, 195]
>>>> >
>>>> > C FLOAT = Array[195]
>>>> >
>>>> > D LONG = Array[1440]
>>>
>>> I didn't mean this. What i wanted to do is to make an array [195,1440] after combining these variables.
>>
>> as array [196,1441]
>
> Impossible.
>
> IDL> print,195+1440*195+195+1440
> 282630
> IDL> print,196*1441
> 282436
>
> Cheers, Heinz

Heinz,
it will be [1442,196]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help needed in using object graphics
Next Topic: Reading DICOM problem

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

Current Time: Wed Oct 08 11:44:59 PDT 2025

Total time taken to generate the page: 0.00371 seconds