Documentation

Empty Matrices

If you construct a matrix using empty matrix elements, the empty matrices are ignored in the resulting matrix:

A = [5.36; 7.01; []; 9.44]
A =
    5.3600
    7.0100
    9.4400
Was this topic helpful?