Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to compare between list elements?' topicStudent Support Forum > General > Archives > "How to compare between list elements?"

Next Comment >Help | Reply To Topic
Author Comment/Response
S_e
07/30/07 10:04am

Hi
My question is how can I compare between each pair of consecutive elements in a list, without using a For function.

For example: {1,3,4,5,6}. How can Icompare between 1 and 3
3 and 4
and so on...

Thank you.


URL: ,

Subject (listing for 'How to compare between list elements?')
Author Date Posted
How to compare between list elements? S_e 07/30/07 10:04am
Re: How to compare between list elements? yehuda ben-s... 07/30/07 3:04pm
Next Comment >Help | Reply To Topic