Effacer les filtres
Effacer les filtres

What does X = max(0,A) mean?

81 vues (au cours des 30 derniers jours)
Maroco Sc
Maroco Sc le 16 Nov 2019
Commenté : Maroco Sc le 16 Nov 2019
What does X = max(0,A) mean?

Réponse acceptée

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH le 16 Nov 2019
it means that some value less than 0 in matrix A will be replaced by 0 in order to have a matrix whose minimum value is 0, example:
max (0, [1 2; -5 5])
returns [1,2; 0 5]
  1 commentaire
Maroco Sc
Maroco Sc le 16 Nov 2019
Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by