fred3
Member
Suppose I have binary data values in a row 1 and suppose I have a mask in row 2:
A B C D E F G H I J
1 1 0 1 1 1 0 0 1 1
2 0 0 0 0 1 1 1 1 1
I want to calculate if the data values are "1" when the mask is "1" and generate a single output "1" if this is the case. Otherwise "0".
In other words, I want to find a simple expression that would generate a "1" or TRUE result if every "1" in the mask is matched by a "1" in the data. If the mask value is "0" then it doesn't affect the result.
A B C D E F G H I J
1 1 0 1 1 1 0 0 1 1
2 0 0 0 0 1 1 1 1 1
I want to calculate if the data values are "1" when the mask is "1" and generate a single output "1" if this is the case. Otherwise "0".
In other words, I want to find a simple expression that would generate a "1" or TRUE result if every "1" in the mask is matched by a "1" in the data. If the mask value is "0" then it doesn't affect the result.