Deleting values from a cell array

2 vues (au cours des 30 derniers jours)
Pat
Pat le 3 Sep 2012
I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by