MATLAB: Moving window MATLABsimulink hi all i would like to create a moving window which can contain 40 samples of data and it has to move every 0.25 mili sec…can anyone help regarding this..pls Best Answer Maybe the Buffer block from the DSP System Toolbox. There are other blocks in the Discrete library of Simulink that may also be relevant.HTH,Arnaud Related SolutionsMATLAB: Moving average x = mean(reshape(y,[],30)).' %y is 3000 x 1 MATLAB: How to reset parameters in a simuink block when a certain condition is met in the simulink loop It is not possible to change a block parameter based on the value of another signal. However, it is possible to perform a "reset" for some blocks' states - for example, the Integrator block by using its reset port. Related QuestionMoving average.Unsure of which block to use in simulink to keep running total.Getting the scope to show sum of time series output with respect to timeMoving box
Best Answer
Maybe the Buffer block from the DSP System Toolbox. There are other blocks in the Discrete library of Simulink that may also be relevant.
HTH,
Arnaud