what's the difference between | and || in matlab??
391 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
what's the difference between | and || in matlab??
0 commentaires
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 10 Déc 2014
Modifié(e) : Sean de Wolski
le 10 Déc 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]
Voir également
Catégories
En savoir plus sur Write Unit Tests dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!