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

Home » Public Forums » archive » Re: Compare two variables
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: Compare two variables [message #61301 is a reply to message #61288] Fri, 11 July 2008 10:14 Go to previous messageGo to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Jul 11, 5:49 pm, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> d.po...@gmail.com wrote:
>> Hi everyone
>> I have got a problem and I don’t know how to solve it:
>> I have two variables like this:
>> A, which col*row=2*4
>> B, which col*row=4*100.
>> All A’s couples (x,y)’s are somewhere in the  2th and 3th column of
>> Result.  I want to take this rows (I want to extract that rows in
>> result which 2th and 3th  columns are settled in the B’s ).for
>> example:
>> A=[[1,2], [3,4] ,[5,6], [7,8]]
>
>> B=[….[11,22,1,2,],….. [44,55,3,4]….. ,[22,99,5,6], ….[77,66,7,8]…]
>
>> …..=means there are some other data
>>  I just want to extract these rows and put them in a new variable
>> Any help?
>> Cheers
>
> If you only have integers, you may want to re-create the cell index....
> either the "real" cell index, or one of your own (like cell 1;2 ==> 12,
> or 0102 or...). Then a simple intersect will do the trick
>
> Jean

no ny data is not integer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: number problem
Next Topic: EARN MONEY $2500-10000 PER WEEK

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

Current Time: Sat Oct 11 11:27:25 PDT 2025

Total time taken to generate the page: 0.24081 seconds