array division

 Accepted Answer

Wayne King
Wayne King on 24 Mar 2012
If you have the Signal Processing Toolbox, you can use buffer()
x = randn(16,1);
y = buffer(x,4);
Otherwise, you can use reshape()
x = randn(16,1);
y = reshape(x,4,4);

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 24 Mar 2012

Community Treasure Hunt

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

Start Hunting!