How to find out numbered value in a matrix

1 visualizzazione (ultimi 30 giorni)
I have, A={A1,A2,A3,A4,A5}, where
A1=[1 4];
A2=[];
A3=[1 2 3 4];
A4=[1 2 6 3 4];
A5=[];
How can i find out only numbered value means, i want
Anew=[A1,A3,A4]; not A2 and A5

Risposta accettata

Andrei Bobrov
Andrei Bobrov il 30 Mag 2016
Modificato: Andrei Bobrov il 30 Mag 2016
Anew = A(~cellfun(@isempty,A))
  3 Commenti
raj singh
raj singh il 30 Mag 2016
Thanks, its work as i want... Thank you very much

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by