looking for a command

1 visualización (últimos 30 días)
Sebastiano delre
Sebastiano delre el 6 de Oct. de 2013
Respondida: Andrei Bobrov el 6 de Oct. de 2013
How can I get from A=[21 3 NaN NaN] to A=[21 3 0 0] without using a for cycle?

Respuesta aceptada

Image Analyst
Image Analyst el 6 de Oct. de 2013
A(isnan(A)) = 0;

Más respuestas (1)

Andrei Bobrov
Andrei Bobrov el 6 de Oct. de 2013

Categorías

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

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by