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

arrrayconvertlistbox

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 ?

Best Answer

A=[1;2;3]
B=A'