Filter löschen
Filter löschen

Concatenate 8X4 matrix in 16X2 matrix in matlab

2 Ansichten (letzte 30 Tage)
Juan Pablo
Juan Pablo am 2 Dez. 2019
Kommentiert: ME am 2 Dez. 2019
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

Akzeptierte Antwort

ME
ME am 2 Dez. 2019
This should do it:
B = [A(:,1:2); A(:,3:4)]
  2 Kommentare
Juan Pablo
Juan Pablo am 2 Dez. 2019
Thanks for your help!
ME
ME am 2 Dez. 2019
Not a problem. If this answer solved your question then could you possibly accept it?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by