How to find out numbered value in a matrix
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Andrei Bobrov
le 30 Mai 2016
Modifié(e) : Andrei Bobrov
le 30 Mai 2016
Anew = A(~cellfun(@isempty,A))
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!