Borrar filtros
Borrar filtros

Concatenate 8X4 matrix in 16X2 matrix in matlab

2 visualizaciones (últimos 30 días)
Juan Pablo
Juan Pablo el 2 de Dic. de 2019
Comentada: ME el 2 de Dic. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by