how to create three conditions in the same if statement?

11 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by