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

How to (logical) compare two arrays

$
0
0

Hello,

i have two boolean arrays.

A[0,1,1,1,0,1,0,0,1,0,0,0,0]

B[0,1,1,1,0,1,0,0,1,0,1,1,0]

 

They have same size. The only difference are the last two 1,1 in array B.

What do i have to do to get an array that contains only the differences?

C[0,0,0,0,0,0,0,0,0,0,1,1,0]

 

Thx


Viewing all articles
Browse latest Browse all 66729

Trending Articles



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