Borrar filtros
Borrar filtros

Non-zero minimum of a line in a matrix

1 visualización (últimos 30 días)
Imane hammou ouali
Imane hammou ouali el 12 de Mzo. de 2019
Comentada: Matt J el 12 de Mzo. de 2019
hello community,
i want to return the non-zero minimum of a line in a matrix how can i do it please?

Respuestas (1)

Matt J
Matt J el 12 de Mzo. de 2019
Editada: Matt J el 12 de Mzo. de 2019
A(A==0)=inf;
minvals=min(A,[],2),
  4 comentarios
Imane hammou ouali
Imane hammou ouali el 12 de Mzo. de 2019
Thank you !! it's working now
Matt J
Matt J el 12 de Mzo. de 2019
You're welcome, but please Accept-click the answer, to certify that it addressed your question.

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by