Concatenate 8X4 matrix in 16X2 matrix in matlab

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

ME
ME il 2 Dic 2019
This should do it:
B = [A(:,1:2); A(:,3:4)]
  2 Commenti
ME
ME il 2 Dic 2019
Not a problem. If this answer solved your question then could you possibly accept it?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by