Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Iris
Posts:
8
Registered:
11/27/12


problem finding a value
Posted:
Jan 21, 2013 10:39 AM


hello! i have a vector like this:
x_x =
1.0e+002 *
Columns 1 through 3
1.000000000000000 0.953406571178785 1.542839603993645
Columns 4 through 5
2.146721794700071 3.268216911140570
now i say: if any(x_x < 2.5) && any(x_x > 5) do something: A else do something else: B end
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


Date

Subject

Author

1/21/13


Iris

1/21/13


Iris

1/21/13


dpb


