フィルターのクリア

manipulation of a cell array-

3 ビュー (過去 30 日間)
alex
alex 2012 年 10 月 15 日
I have a cell array where some cells are empty, some are with numbers and some are with strings and chars.
I want to find out which ones are empty- is there a better way then a double loop with
isempty(cell_array{i,j}) ?

採用された回答

Matt Fig
Matt Fig 2012 年 10 月 15 日
編集済み: Matt Fig 2012 年 10 月 15 日
Cell_array = {1,[],magic(2);'stirng',[],[]}
cellfun('isempty',Cell_array)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by