fun_removecellrowco​ls

Removes the non desired rows or columns from a cell
792 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 (2024). 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
Categories
Find more on Resizing and Reshaping Matrices in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Add an example

1.0.0.0