what's the difference between | and || in matlab??
618 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
maha ismail
am 10 Dez. 2014
Bearbeitet: Stephen23
am 19 Mär. 2024
what's the difference between | and || in matlab??
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 10 Dez. 2014
Bearbeitet: Sean de Wolski
am 10 Dez. 2014
| applies to each element in the array, || applies to a scalar condition:
[1 0 1] | [ 0 0 1]
v.
[1 0 1] || [ 0 0 1]
Siehe auch
Kategorien
Mehr zu Write Unit Tests 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!