Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69153

extract the positive values of a 2D array

$
0
0

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 ?

 


Viewing all articles
Browse latest Browse all 69153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>