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

Réponses (1)

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

3 commentaires

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.)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Tags

Question posée :

le 28 Oct 2017

Commenté :

le 21 Jan 2022

Community Treasure Hunt

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

Start Hunting!

Translated by