Error Deleting column from cell
Mostrar comentarios más antiguos
r=
{6x4 cell}
{5x4 cell}
{4x4 cell}
{3x4 cell}
tried to delete the 3rd column but the third column was replaced by []
r = cell(size(r))
for jj = 1:numel(r)
r{jj}(:,[1:2,4]) = gene{jj}(:,[1:2,end]);
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Partial Differential Equation Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!