MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > 3 condition in IF statement 

Hi everybody. I have program which 3 condition should be compare. I want this IF statement to be true only in the case where the first condition AND the second condition AND the third condition are all true simultaneously. 
Subject: 3 condition in IF statement From: Roger Stafford Date: 30 Jul, 2013 19:59:21 Message: 2 of 17 
"Babak " <b_mn@hotmail.com> wrote in message <kt94qu$h19$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <kt95up$k6l$1@newscl01ah.mathworks.com>... 
"Babak " <b_mn@hotmail.com> wrote in message <kt96mq$m84$1@newscl01ah.mathworks.com>... 
Subject: 3 condition in IF statement From: Roger Stafford Date: 30 Jul, 2013 22:10:21 Message: 5 of 17 
"Babak " <b_mn@hotmail.com> wrote in message <kt96mq$m84$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <kt9dkd$a5l$1@newscl01ah.mathworks.com>... 
On 7/30/2013 5:24 PM, Babak wrote: 
On 7/30/2013 5:10 PM, Roger Stafford wrote: 
Subject: 3 condition in IF statement From: Roger Stafford Date: 31 Jul, 2013 01:48:16 Message: 9 of 17 
dpb <none@non.net> wrote in message <kt9jfp$cre$1@speranza.aioe.org>... 
Subject: 3 condition in IF statement From: Nasser M. Abbasi Date: 31 Jul, 2013 02:04:25 Message: 10 of 17 
On 7/30/2013 5:10 PM, Roger Stafford wrote: 
On 7/30/2013 9:04 PM, Nasser M. Abbasi wrote: 
On 7/30/2013 9:04 PM, Nasser M. Abbasi wrote: 
dpb <none@non.net> wrote in message <kta2u3$de5$1@speranza.aioe.org>... 
On 7/30/2013 8:48 PM, Roger Stafford wrote: 

"Loren Shure" wrote in message <ktdkfo$nvs$1@newscl01ah.mathworks.com>... 
On 8/1/2013 11:00 AM, someone wrote: 
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.