Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Array Iterations' topicStudent Support Forum > General > Archives > "Array Iterations"

Next Comment >Help | Reply To Topic
Author Comment/Response
Jason
09/01/10 11:06pm

Hi,

I am having problems iterating my arrays. Instead of geting the values I entered for true and false in the if statment, my output reads through the entire matrix, with my if statement at the end of each row. Any idea what I am doing wrong?

e.g.{If[{-1, -2, -1, 4, 3}[1, 1] > 0, apple = "Yes", apple = "no"]

URL: ,

Subject (listing for 'Array Iterations')
Author Date Posted
Array Iterations Jason 09/01/10 11:06pm
Re: Array Iterations Peter Pein 09/03/10 03:21am
Next Comment >Help | Reply To Topic