[…] You can use the ISEMPTY function to detect whether a matrix is the empty matrix. …