Deleting values from a cell array

3 views (last 30 days)
I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 3 Sep 2012
out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!