"OR" not working
古いコメントを表示
Hi,
I am seeing a strange result in matlab using the OR operator.
This is what I am seeing:
K>> 5==1|2
ans =
1
I must be doing something wrong, but can't figure out what. Any ideas?
1 件のコメント
José-Luis
2014 年 7 月 8 日
What did you expect to get?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Entering Commands についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!