Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Comparison of List entries' topicStudent Support Forum > General > "Comparison of List entries"

Next Comment >Help | Reply To Topic
Author Comment/Response
Wolfgang Truger
03/09/13 03:41am

Dear all,

I am rather new in working with Matematica so probably the solution is simple for you...

I want to compare two Lists of Expressions (Strings or numerical values). In Excel it was not a big issue - the Excel-Formula

Transpose[{"EURO3", "EURO4", "EURO5", "EURO6", "EEV"}]={"EURO4", "EURO6"}

lead me to the result:

False False
True False
False False
False True
False False

With this Matrix it is easy possible to carry on with calculations. For example multiplication with values. So True means multiplication by 1 and False by 0. By doing this I can extract very quickly data I need.

How do I realize that (this comparison matrix) with Mathematica?

URL: ,

Subject (listing for 'Comparison of List entries')
Author Date Posted
Comparison of List entries Wolfgang Tru... 03/09/13 03:41am
Re: Comparison of List entries Bill Simpson 03/10/13 01:35am
Re: Re: Comparison of List entries Wolfgang Tru... 03/11/13 04:51am
Next Comment >Help | Reply To Topic