Error in matlab analysis
'nanmean' requires one of the following: Financial Toolbox Statistics and Machine Learning Toolbox
Error in Custom (no starter code) 1 (line 15) avghumidity= nanmean(humidity);
how to remove this error?
2 Comments
Time DescendingYou can use M = mean(___,nanflag), which is available in base MATLAB. You wont need to purchase any licenses to use that.
You will need to purchase Financial toolbox (with MATLAB) or rewrite your code to not include this function. I would suggest you preprocess your data to remove nan values and then use the mean function available in base MATLAB. You wont need a license for that.