How to solve this simple index problem

 Risposta accettata

idx = isnan(b);
c = a(idx);
D = [a(~idx), b(~idx)];

Più risposte (0)

Categorie

Richiesto:

il 30 Ago 2015

Commentato:

il 30 Ago 2015

Community Treasure Hunt

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

Start Hunting!

Translated by