array division
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
how to divide a 1D array in 4 equal parts
0 comentarios
Respuesta aceptada
Wayne King
el 24 de Mzo. de 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);
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!