Concatenate 8X4 matrix in 16X2 matrix in matlab

2 次查看(过去 30 天)
Hi there, I want to concatenate a 4 columns matrix into 2 column matrix, for example, I have these variables:
I want to get this arrange:
How I can get that? Thanxs for your help

采纳的回答

ME
ME 2019-12-2
This should do it:
B = [A(:,1:2); A(:,3:4)]

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by