How to find out numbered value in a matrix

1 次查看(过去 30 天)
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

采纳的回答

Andrei Bobrov
Andrei Bobrov 2016-5-30
编辑:Andrei Bobrov 2016-5-30
Anew = A(~cellfun(@isempty,A))
  3 个评论
raj singh
raj singh 2016-5-30
Thanks, its work as i want... Thank you very much

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by