I have read some data from an Excel file in Matlab. A cell array has been generated as follow:
x={'11', 'NaN', 'NaN', '13', 24}
I want to convert cell array to a numeric matrix (for other required calculations) and convert 'NaN' elements to zero in my numeric matrix. How can I do it?
Thank you.