how to create three conditions in the same if statement?

9 visualizaciones (últimos 30 días)
Ibrahim AlZoubi
Ibrahim AlZoubi el 3 de Jun. de 2020
Respondida: madhan ravi el 3 de Jun. de 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

Respuestas (1)

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

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by