What is this Matlab symbol '' | ''

5 次查看(过去 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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by