Hi,(adsbygoogle = window.adsbygoogle || []).push({});

First lets say you have an input vector and an output vector describing states. Let us use a binary number system, it doesn't really matter for mathematics.

Say, I have an input vector V, components v_i. Now I would like to have an output vector W which can be of other dimension. The allowed mathematical relations between the input components are AND, OR, XOR, NOT for example.

Let me write one example:

w_2 = 1 if ((v_1 AND NOT v_2) OR (NOT v_1 AND v_3) else 0

I thought about some simple transition matrix

W = A1 * V

but as it seems to me the OR (or XOR) is the killer, it makes the system of equations nonlinear, right?

The question finally is: How can I write down code with not that many logical implications but using logical matrices... not sure... thanks for a hint!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Logic Matrices - automata theory

Loading...

Similar Threads for Logic Matrices automata |
---|

A About the “Axiom of Dependent Choice” |

B Linear logic, what is it? |

Logic & science |

B What is the usefulness of formal logic theory? |

B Conditional Probability, Independence, and Dependence |

**Physics Forums | Science Articles, Homework Help, Discussion**