how to create three conditions in the same if statement?

3 Ansichten (letzte 30 Tage)
Ibrahim AlZoubi
Ibrahim AlZoubi am 3 Jun. 2020
Beantwortet: madhan ravi am 3 Jun. 2020
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

Antworten (1)

madhan ravi
madhan ravi am 3 Jun. 2020
if (C(i,1)<= A) || (N(i,1)> B) || (x>=y)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by