Deleting values from a cell array

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by