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

1 次查看(过去 30 天)
for i=1:10 for j=1:15 p=cat(2,u((i*(j)))); end end

采纳的回答

Andrei Bobrov
Andrei Bobrov 2016-6-2
reshape(A,15,[])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by