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

Home » Public Forums » archive » Re: rs_test.pro
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: rs_test.pro [message #34376] Wed, 12 March 2003 08:22
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
Steve wrote:
> Hi everybody!
> I am using the routine rs_test.pro (idl library). I have two data set,
> the first one is a 105 elements array (x), while the second one is a
> 103 elements array(y).
> I read the data, but when I use rs_test.pro the routine returns
>
> %Unable to concatenate variables because the dimensions do not agree:
> Y
> % Error occurred at: RS_TEST 96
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Why? Where is the problem and it is possible to solve it?
> Thank a lot!
> Cheers
> Steve

Hi Steve,

In a manner of speaking, you cannot concatenate a column vector and a row vector.
As a guess, one of your arrays may be a [1 by 103] or [1 by 105],
and the other is [105] or [103].
Use the help procedure to see.
IDL> help,x,y

So, you can use reform() or transpose() on the offending array.

Cheers,
bob
[Message index]
 
Read Message
Previous Topic: Calculating with Graphic Hardware
Next Topic: IDL video memory vs. MS Windows Terminal Services

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

Current Time: Fri Oct 10 09:29:43 PDT 2025

Total time taken to generate the page: 1.43874 seconds