what's the difference between | and || in matlab??
조회 수: 342 (최근 30일)
이전 댓글 표시
what's the difference between | and || in matlab??
댓글 수: 0
채택된 답변
추가 답변 (1개)
Sean de Wolski
2014년 12월 10일
편집: Sean de Wolski
2014년 12월 10일
| 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]
참고 항목
카테고리
Help Center 및 File Exchange에서 Write Unit Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!