how to create three conditions in the same if statement?
Show older comments
How to write if statment with three conditons? this is my code:
if C(i,1)<= A || N(i,1)> B
and I want to add this to the condition:
|| x>=y
Answers (1)
madhan ravi
on 3 Jun 2020
if (C(i,1)<= A) || (N(i,1)> B) || (x>=y)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!