Matlab and SimuLink Development Forum
Matlab Tutorials
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Media
Login
Register
Matlab and SimuLink Development Forum
»
Matlab
»
Matlab Programming
»
Topic:
I have a question
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: I have a question (Read 611 times)
kindman
Newbie
Posts: 1
Matlab Forum
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.
Logged
avengeline
Newbie
Posts: 6
Matlab Forum
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..
Logged
Matlab and SimuLink Development Forum
Re: I have a question
«
Reply #1 on:
April 29, 2010, 05:31:09 AM »
Print
Pages: [
1
]
Go Up
« previous
next »
Matlab and SimuLink Development Forum
»
Matlab
»
Matlab Programming
»
Topic:
I have a question