Tall array apply movmean function
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Timo Ruberto
el 3 de Oct. de 2017
Comentada: Timo Ruberto
el 3 de Oct. de 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
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!