image thumbnail

fun_removecellrowco​ls

version 1.1.0.0 (1.95 KB) by José Crespo Barrios
Removes the non desired rows or columns from a cell

784 Downloads

Updated 11 Apr 2014

View License

Examples: Let cellA be a [3x3] cell.
cellA = fun_removecellrowcols(cellA,2,'rows')
% the output will be a [2x3] cell, in which the middle row has been removed.

cellA = fun_removecellrowcols(cellA,[1,2],'cols')

% The output dimensions of cellA will be [3x1], in which 1st and 2nd columns
have been removed.

Cite As

José Crespo Barrios (2021). fun_removecellrowcols (https://www.mathworks.com/matlabcentral/fileexchange/46196-fun_removecellrowcols), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!