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

 Respuesta aceptada

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH el 16 de Nov. de 2019

2 votos

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]

Más respuestas (0)

Categorías

Productos

Preguntada:

el 16 de Nov. de 2019

Comentada:

el 16 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by