how to create three conditions in the same if statement?

9 ビュー (過去 30 日間)
Ibrahim AlZoubi
Ibrahim AlZoubi 2020 年 6 月 3 日
回答済み: madhan ravi 2020 年 6 月 3 日
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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by