I plotted a confusion matrix in Matlab using the code from this link.
However whenever there is a zero on the cell it is still shown. How can I eliminate the printing of
does this work - do a loop over i and j (spatial dimensions) after textStrings is defined and before it is converted to cell, and set
i
j
textStrings
textStrings(i,j,1:4)=' ';
depending on if mat(i,j) is really close to 0.00 using an if-else statement
mat(i,j)
0.00
if-else