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

Antworten (1)

Star Strider
Star Strider am 28 Okt. 2017

2 Stimmen

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Weather and Atmospheric Science finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 28 Okt. 2017

Kommentiert:

am 21 Jan. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by