Author Topic: I have a question  (Read 611 times)

Offline kindman

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
I have a question
« on: February 28, 2010, 02:07:29 PM »
Hi all. I have a question. I want to display the truth table for logic gates and I want to label the inputs as A B and C. For example, I want the output to be like this
A   B   C   F
0   0   0    0
0   0   1    0
0   1   0    0
and so on.

Offline avengeline

  • Newbie
  • *
  • Posts: 6
  • Matlab Forum
    • View Profile
Re: I have a question
« Reply #1 on: April 29, 2010, 05:31:09 AM »
one easy way.. play with the workspace.. create a new variable and name it 'logic'... insert those input and output values into variable logic.. on command window.. type 'logic' then you will see the values..

Matlab and SimuLink Development Forum

Re: I have a question
« Reply #1 on: April 29, 2010, 05:31:09 AM »