how to create three conditions in the same if statement?

11 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by