11-29-2013 05:04 AM
We can't give you the solution, if we don't know how to solve the problem.
You haven't given answer to the following question of udka:
0x0=?
0x1=?
1x0=?
1x1=?
What will the solutions be?
11-29-2013 05:16 AM
For the question,
0x0=0
0x1=0
1x0=0
1x1=1
where do i find the boolean control?i searched this and can find only numeric control
thanks
11-29-2013 05:19 AM
You just have to drag the boolean in the array control.
11-29-2013 05:24 AM
@sumalama wrote:
For the question,
0x0=0
0x1=0
1x0=0
1x1=1
where do i find the boolean control?i searched this and can find only numeric control
thanks
In that case whatever values,u've put in the resultant matrix/array whatever it is not correct.
For Boolean Array, In the front panel right click go to boolean subpalette and get any one of control. Or simply do search for boolean control by pressing Ctrl+D and the tab which comes after that.
11-29-2013 05:25 AM
boolean array is not the thing i want, i want to have binary data (1 and 0) into the array ....
11-29-2013 05:29 AM
You mean you want to go from number array to boolean array?
11-29-2013 10:21 AM
Sumalama,
Say you have a row T,T,T
Which is multiplied by a column T,T,F
The sum is the sum of T,T,F.
What are you defining as the sum of T,T and F as a boolean? How are you calculating that?
We need to know this answer to understand what you expect from a 'boolean matrix multiply'.
11-30-2013 10:25 PM
thanks all for your replies, but really none of them gave me the solution I am seeking, i think that it is not hard to understand what i am trying to do- a binary operation(module-2 add and multiply) with two matrices. boolean array is not the solution because it doesn't allow me to enter binary digits(1 and 0).
i had earlier posted my inputs array and expected output array and i am posting it again. i look forward for your kind help
thanks
11-30-2013 11:00 PM
It IS that hard to understand because what you say you want doesn't match the example you posted. Answer the earlier questions!
How does the second row of the X array [1 0 1] get combined withe the first column of the Y array [1 0 1], and you only get 1?
How does the second row of X [1 0 1] get combined with the second column of Y [0 0 1] become the answer of 1, yet second row of X [1 0 1] get combined with third column of Y, also [ 0 0 1] and you wind up with a different answer of 0?
What are you really trying to do? Is this homework?
12-01-2013 04:48 PM
What Ravensfan said- your example is useless because it tells us only what the result is when we're multiplying by (0,0,0)- plus as he said, you're not directly answering the question. If 'module 2' means 'modulo 2', then what's the problem? Convert to I32, use standard matrix math available in labview, then take modulo 2 of the resulting matrix.