フィルターのクリア

How can i check if an array cell contain only zero element ?

14 ビュー (過去 30 日間)
Mariem Harmassi
Mariem Harmassi 2012 年 9 月 12 日
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 12 日
編集済み: Azzi Abdelmalek 2012 年 9 月 12 日
the size of your cell aray?

サインインしてコメントする。

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 12 日
編集済み: Azzi Abdelmalek 2012 年 9 月 12 日
B=cell2mat(A)
all(B(:)==0)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by