fun_removecellrowcols
版本 1.1.0.0 (2.0 KB) 作者:
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.
引用格式
José Crespo Barrios (2024). fun_removecellrowcols (https://www.mathworks.com/matlabcentral/fileexchange/46196-fun_removecellrowcols), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Resizing and Reshaping Matrices 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!