I have a matrix that contains some NaNs. When I try to write that matrix to an Excel file using XLSREAD, all the NaN values show up as blank cells in Excel. I want NaN values to appear instead.
MATLAB: How to write the NaN values in the matrix to Excel using XLSWRITE
MATLABnanxlswrite
Best Answer