Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[MovingAverage] - compute moving averages for a data set
Calling Sequence
MovingAverage(X, m, options)
Parameters
X
-
data set
m
posint; moving window size
options
(optional) equation(s) of the form ignore=value; specify options for the MovingAverage function
Description
The MovingAverage function computes moving averages for a set of observations. To compute weighted moving averages see Statistics[WeightedMovingAverage] or Statistics[LinearFilter].
The first parameter X is a single data sample - given as a Vector or list. Each value represents an individual observation.
The second parameter m is the size of the moving window. The size of the moving window cannot exceed the number of elements in X (or the number of non-missing elements if ignore is set to true). The number of items in the answer is less than the number of items in data. Only complete neighborhoods are included, so the number of items is reduced by m-.
Options
The options argument can contain one or more of the options shown below. These options are described in more detail in the Statistics[Mean] help page.
ignore=truefalse -- This option is used to specify how to handle non-numeric data. If ignore is set to true all non-numeric items in data will be ignored.
Examples
See Also
Statistics, Statistics[DataSmoothing], Statistics[ExponentialSmoothing], Statistics[WeightedMovingAverage]
Download Help Document