how to write or condition in if statement matlab?
64 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sultan Mehmood
am 21 Jun. 2019
Kommentiert: Sultan Mehmood
am 21 Jun. 2019
if
(j==i) , or (flag(j)==1)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Shwetank Shrey
am 21 Jun. 2019
Check out the documentation:
if (j == i) || (flag(j) == 1)
% do something
end
6 Kommentare
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!