Error in matlab analysis

uzair ayub 2021 年 5 月 21 日
最新アクティビティ Christopher Stapels さんによる返信 (2021 年 5 月 27 日)

'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?

Christopher Stapels
Christopher Stapels 2021 年 5 月 27 日

You can use M = mean(___,nanflag), which is available in base MATLAB. You wont need to purchase any licenses to use that.

Christopher Stapels
Christopher Stapels 2021 年 5 月 26 日

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.

タグ

タグが未入力です。