Deleting values from a cell array

1 回表示 (過去 30 日間)
Pat
Pat 2012 年 9 月 3 日
I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 9 月 3 日
out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by