MATLAB: How to find out numbered value in a matrix

combinationmatrixpairselection

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

Best Answer

Anew = A(~cellfun(@isempty,A))