フィルターのクリア

if i have this cell matrix how can delete zero cell?

2 ビュー (過去 30 日間)
Firas Al-Kharabsheh
Firas Al-Kharabsheh 2016 年 5 月 10 日
if i have
z= [10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[10x10 double]
[]
[10x10 double]
how can i delete the [] cell from z ?

採用された回答

James Tursa
James Tursa 2016 年 5 月 10 日
z(cellfun(@isempty,z)) = [];

その他の回答 (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