12-27-2022 10:38 AM
I have 3×6 array of random numbers and i want to connect same array of boolian so when the number of random is 0 the corresponding value of boolia
12-27-2022 11:22 AM
What have you tried?
12-27-2022 11:39 AM
Hi Dalmar,
@Dalmar252 wrote:
I have 3×6 array of random numbers
So there are 18 random numbers…
@Dalmar252 wrote:
i want to connect same array of boolian
Which array of booleans?
What kind of "connection"?
@Dalmar252 wrote:
when the number of random is 0 the corresponding value of boolia
Do you really expect a random number of being "zero"?
What should happen when the value is zero?
12-27-2022
11:46 AM
- last edited on
05-06-2026
09:51 AM
by
Content Cleaner
@Dalmar252 wrote:
I have 3×6 array of random numbers and i want to connect same array of boolian so when the number of random is 0 the corresponding value of boolia
Can you go back and finish the sentence so we see the entire question. thanks! It is best to attach your VI (or a simplified version).
Where do these random numbers come from? If they are generate by e.g. the dice, the chance of zero is zero! Are these number integers?
What should be output be? A 2D array of booleans? A single boolean indicating that all or some are zero? An array of indices of all elements that are zero? Something else?