how can i create sliding window matrix for a single column matrix

HI ,
I have a single column matrix of a solar forecasted output.How can i create a sliding window of the required size of the same matrix

1 Comment

if you want to calculate something like mean or median with a sliding window, then have a look into movmedian() or movmean(). otherwise you have to clarify your question, do you want to save each window separately, how much do the windows overlap etc....

Sign in to comment.

More Answers (0)

Categories

Find more on Aerospace Blockset in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!