MATLAB: Deleting values from a cell array

matrix

I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

Best Answer

out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);