change matrix form and arrangement

1 次查看(过去 30 天)
Hi all
i would like to get some help in this problem
i have very large matrix like this small example
A1=[1.1 2.1 3.2 4.1 5.3 6.2]
A1=
1.1 2.1 3.2 4.1 5.3 6.2
i want to change A1 to be like A2
A 2=
1.1 3.2 5.3
2.1 4.1 6.2
i maen the second number in A1 be under the first one and so on for complete matrix
thank you very much for helping

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-1-20
reshape(A1,[2,3])

更多回答(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