What does X = max(0,A) mean?
87 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Maroco Sc
le 16 Nov 2019
Commenté : Maroco Sc
le 16 Nov 2019
What does X = max(0,A) mean?
0 commentaires
Réponse acceptée
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]
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!