Tall array apply movmean function

6 vues (au cours des 30 derniers jours)
Timo Ruberto
Timo Ruberto le 3 Oct 2017
Commenté : Timo Ruberto le 3 Oct 2017
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

Réponse acceptée

Steven Lord
Steven Lord le 3 Oct 2017
Support for using movmean on tall arrays was added in release R2017a.
  1 commentaire
Timo Ruberto
Timo Ruberto le 3 Oct 2017
Thanks a lot

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by