MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > vector computation 

hi, 
"Michael " <mteo@empiricap.com> wrote in message <i3vv6j$kfu$1@fred.mathworks.com>... 
Your example does not follow the rules you set out. Also, your rules don't seem clear enough to decide in every case. For example, you say that if a is ON then c is always 1, and if b is OFF then c is always 0. But what is c when BOTH a is ON AND b is OFF? 
"Michael " <mteo@empiricap.com> wrote in message <i3vv6j$kfu$1@fred.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <i422qr$7jq$1@fred.mathworks.com>... 
"Michael Teo" <mteo@empiricap.com> wrote in message <i42c85$p2k$1@fred.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <i42mlt$eg4$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.