# MATLAB: How can I delete all value in matrix (for example the matrix include a lot of ‘ NaN not a number’ and i want to delete this)

delete all value in matrix

hi every one
my matrix is very size (13*39494) and also including NaN(not a number) value and different where. i want to take a mean my matrix but I can't because of NaN values.
Briefly I want to delete all NaN value of my matrix how can I ?
•    MFCCs_Sum(isnan(MFCCs_Sum))=0or   MFCCs_Sum(isnan(MFCCs_Sum))=[]