Hi there,
I am using Matlab 2016b and have the Statistics and Machine Learning as well as parallel computing toolbox installed.
Now, I am trying to go through a subset of data, to create the moving average per line into a new column called foundaTempMA with the following code:
tt.foundaTempMA = movmean(tt.Var5,3,'omitnan');
The issue is I get the following error message:
Error using movmean Invalid data type. First input argument must be numeric or logical.
If I return tt.Var5, Matlab shows me that its a "M*1 tall double column vector" - so I cannot explain why the movmean function does not work.
Thanks a lot in adavce
Tim

 채택된 답변

Steven Lord
Steven Lord 2017년 10월 3일

1 개 추천

Support for using movmean on tall arrays was added in release R2017a.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

질문:

2017년 10월 3일

댓글:

2017년 10월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by