Undefined function 'movmean' for input arguments of type 'double'

Hi, I wish to use function movmean in my code. I am able to run mean function, while using movmean i get the error as " Undefined function 'movmean' for input arguments of type 'double'.have statistical toolbox installed. I m using R2014a

Respuestas (1)

Star Strider
Star Strider el 28 de Oct. de 2017
The movmean function was introduced in R2016a.
You can use a Moving Average Filter (link) to get essentially the same result.

3 comentarios

I'm using R2020b but faced the same problem. any updates?
@david hj — The movmean function is part of core MATLAB, so no Toolboxes are required.
The only solution I can offer is to run these from a script or the Command Window:
restoredefaultpath
rehash toolboxcache
If the problem persists, Contact Support.
.
@david hj Can you show how you're trying to call movmean and the full and exact text of the error message you receive (all the text displayed in red in the Command Window)? The exact message may include details that will help determine why movmean isn't working on your machine (which is a different reason than the original poster.)

Iniciar sesión para comentar.

Categorías

Más información sobre Weather and Atmospheric Science en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Oct. de 2017

Comentada:

el 21 de En. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by