MATLAB: How to calculate Moving Average in a table MATLAB Hi, I need to calculate simple moving average on a set of prices which is in a Table. How to do that? Thanks, Jennifer Best Answer Hi Jennifer,You can use 'conv' to get the moving average for your data. Here is a link which illustrates this:http://www.mathworks.com/help/econ/moving-average-trend-estimation.html Related SolutionsMATLAB: Moving average of array If you have R2016a or later, use the movmean (link) function. Otherwise, see the filter (link) documentation section on Moving Average Filter (link). MATLAB: Moving average x = mean(reshape(y,[],30)).' %y is 3000 x 1 Related QuestionGetting sum of class properties from a matrixMoving average.Matrices with customized sums for rows and columnsMoving average without using movmean() or conv()2D moving sum of a matrix
Best Answer