i have A=150x1 matrix, i want to create another matrix of size B=15x10 where the 1st column contains 1st 15 data of matrix A and the 2nd column can contain the next 15 data and so one. So please help

4 visualizaciones (últimos 30 días)
for i=1:10 for j=1:15 p=cat(2,u((i*(j)))); end end

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 2 de Jun. de 2016
reshape(A,15,[])

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by