What is this Matlab symbol '' | ''

3 vues (au cours des 30 derniers jours)
fadams18
fadams18 le 26 Mai 2020
Commenté : fadams18 le 26 Mai 2020
Guys, could someone explain what this expression does. Ive never seen this expression before. Thank you.
pGrad=gradX(gradX<0|X>0);
  2 commentaires
fadams18
fadams18 le 26 Mai 2020
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.

Connectez-vous pour commenter.

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 26 Mai 2020
Modifié(e) : KALYAN ACHARJYA le 26 Mai 2020
Logical OR Operation
See details here
  2 commentaires
Stephen23
Stephen23 le 26 Mai 2020
@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 le 26 Mai 2020
Yes sir, modified. Thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by