MATLAB: How to divide a signal spectrum

fft

I have a problem with a signal spectrum. I need divide it into small vectors, which include 10 elements. Anyone could help me?

Best Answer

One option is to use the rehsape (link) function:
V = 0:29; % Create Vector
Vr = reshape(V(:), 10, []); % Matrix Of Reshaped Vector Elements