How can i check if an array cell contain only zero element ?
14 views (last 30 days)
Show older comments
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?
1 Comment
Answers (1)
Azzi Abdelmalek
on 12 Sep 2012
Edited: Azzi Abdelmalek
on 12 Sep 2012
B=cell2mat(A)
all(B(:)==0)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!