Question: Using MATLAB language. Write a function that allows you to calculate the moving average of a series of data using a window of n terms,
Using MATLAB language. Write a function that allows you to calculate the moving average of a series of data using a window of n terms, n must be an odd number. The function will then have 2 inputs (a vector with data and n) and 1 output (the vector containing the moving average).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
