Deleting values from a cell array

1 visualización (últimos 30 días)
Pat
Pat el 3 de Sept. de 2012
I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 3 de Sept. de 2012
out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by