What is this Matlab symbol '' | ''

1 回表示 (過去 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