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

96 Ansichten (letzte 30 Tage)
Max Müller
Max Müller am 14 Jul. 2014
Kommentiert: Max Müller am 14 Jul. 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 ?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 14 Jul. 2014
Bearbeitet: Azzi Abdelmalek am 14 Jul. 2014
A=[1;2;3]
B=A'

Weitere Antworten (1)

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

Kategorien

Mehr zu Environment and Settings 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