Convert an [10,1] Array into an [1,10] Array

86 visualizaciones (últimos 30 días)
Max Müller
Max Müller el 14 de Jul. de 2014
Comentada: Max Müller el 14 de Jul. de 2014
Hey Guys,
If u want to get the Data of a listbox, u always get an [n,1] Array. n = number of content in the listbox
However, I want the Array to be an [1,n] Array.
So how can I convert it ?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 14 de Jul. de 2014
Editada: Azzi Abdelmalek el 14 de Jul. de 2014
A=[1;2;3]
B=A'

Más respuestas (1)

Prasad Kalane
Prasad Kalane el 14 de Jul. de 2014
Assign variable & take transpose as suggested by azzi sir.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by