vlt.data.cell2matn¶
CELL2MATN - convert a cell matrix to a numeric matrix with NaN for empty
M = CELL2MATN(C)
Create a numeric matrix from a cell matrix C. Empty entries of C will be
coded as NaN entries in M. C must contain only single numeric entries.
Example:
a{1,1} = 1; a{1,2} = 2; a{2,1} = 3;
m = vlt.data.cell2matn(a);
% m is [ 1 2 ; 3 NaN]
See also: CELL2MAT, MAT2CELL