fun_removecellrowcols
Version 1.1.0.0 (1.95 KB) by
José Crespo Barrios
Removes the non desired rows or columns from a cell
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 LinuxCategories
Find more on Resizing and Reshaping Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.