How to solve this simple index problem

 Respuesta aceptada

Walter Roberson
Walter Roberson el 30 de Ag. de 2015
idx = isnan(b);
c = a(idx);
D = [a(~idx), b(~idx)];

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 30 de Ag. de 2015

Comentada:

el 30 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by