ml_extend_cell
Extends the given cell arrays to match in size.
Contents
Syntax
[cell1, cell2, ...] = ml_extend_cell(cell1, cell2, ...)
Description
Takes any number of 1D cell arrays and extends them to the length of the largest one by repeating the first element in each one that is shorter. A cell array may only have length one or the same as the largest one.
Input
cell1, cell2, ... - cell vectors
Output
cell1, cell2, ... - cell vectors, with equal length
See Also