LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare 2 arrays,if same value add the value.If different value show 0

hello to all! i am new to labview and i'am trying to solve a labview exercise

''compare 2 arrays 1d 1x10 (the values of them are lucky numbers from 1 to 10)  .compare them and create a new array [1,10] that saves the same values in the corresponding places ,while in the remainder places where the elements of 2 tables are different  show 0''

One Example


In this time of project i have stuck at the comparison of values of two array.and how i would achive creating the Array3! I have search the forum about founding any answer.Any ideas?









Message Edited by sdadfsdfds on 06-05-2008 12:08 PM

Message Edited by sdadfsdfds on 06-05-2008 12:09 PM
0 Kudos
Message 1 of 3
(2,297 Views)
I am guessing that since this is a labview exercise it is meant as a learning experience.  There are several ways to solve this problem, I have shown one way below.  I suggest that you try and come up with other ways on your own.  Feel free to ask any questions.

Cheers





Message Edited by jmcbee on 06-05-2008 11:25 AM
0 Kudos
Message 2 of 3
(2,288 Views)
yes my friend is a learning exercise and i try solve it with some other ways.
I try to understand how you thought it but i am at a starter labview place.......

thanx for your help
cheers


Message Edited by sdadfsdfds on 06-05-2008 12:45 PM
0 Kudos
Message 3 of 3
(2,280 Views)