Perform indexing of matrices in a cell array.
Given a cell array of matrices x, this function computes
Y = cell (size (X)); for i = 1:numel (X) Y{i} = X{i}(varargin{1}, varargin{2}, …, varargin{N}); endfor
The indexing arguments may be scalar (2
), arrays ([1, 3]
),
ranges (1:3
), or the colon operator (":"
). However, the
indexing keyword end
is not available.
See also: cellslices, cellfun.
Package: octave