What is this Matlab symbol '' | ''

조회 수: 2 (최근 30일)
fadams18
fadams18 2020년 5월 26일
댓글: fadams18 2020년 5월 26일
Guys, could someone explain what this expression does. Ive never seen this expression before. Thank you.
pGrad=gradX(gradX<0|X>0);
  댓글 수: 2
fadams18
fadams18 2020년 5월 26일
in this case my gradX and X are matrices of size 300x300. what does this imply taking into account the less and greater operator? sorry for my noob questions.

댓글을 달려면 로그인하십시오.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 5월 26일
편집: KALYAN ACHARJYA 2020년 5월 26일
Logical OR Operation
See details here
  댓글 수: 2
Stephen23
Stephen23 2020년 5월 26일
@KALYAN ACHARJYA: rather than giving a link to a third-party copy of an old version of the MATLAB documentation, why not simply give a link to the MATLAB documentation itself?
KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 5월 26일
Yes sir, modified. Thanks

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by