08-08-2013 05:49 PM - edited 08-08-2013 05:50 PM
Hi,
I have a 2D array with positive value in the 2 column.
What I want to do is to find the positive value of each column.
For example, I have this array
A B
-1 1
2 -2
3 9
5 4
-5 6
6 7
and I want to obtain the following
A B
3 9
5 4
6 7
I manage to have the positve in each case but the value do'nt correspond (I have all the positive value of each column) like
A B
2 1
3 9
5 4
6 6
7
can you help me please ?
Solved! Go to Solution.
08-08-2013 06:35 PM
Just to be clear: You want the output array to contain all the rows of the input array which have positive values in both column A and in column B? Are you using strictly positive (>0) comparisons or non-negative (>=0)? Are the values integers?
Frr answers: Yes and Strictly positive this will do what you want.
Lynn
08-08-2013 06:39 PM - edited 08-08-2013 06:55 PM
Like that?
Zero Included? Simple Integers? Can u provide more information? Solution may change depending on requeriments
08-09-2013 08:45 AM
I'm using (>=0) comparison and non integers value, and my value are in ligne not column I made a mistake, thank you,
I will try what you send, and I'll come for feedback
08-09-2013 09:52 AM
Thanks It works perfectly 🙂