Date: Jan 21, 2013 10:39 AM
Subject: problem finding a value
i have a vector like this:
Columns 1 through 3
1.000000000000000 -0.953406571178785 -1.542839603993645
Columns 4 through 5
now i say:
if any(x_x < 2.5) && any(x_x > -5)
do something: A
do something else: B
why does the program always do A??
i just want it to do A if some value inside x_x is between -5 and 2.5!
i really dont understand....
any help is appreciated..
thank you in advance