how to create three conditions in the same if statement?

3 vues (au cours des 30 derniers jours)
Ibrahim AlZoubi
Ibrahim AlZoubi le 3 Juin 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

Réponses (1)

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

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by