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

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 ?

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 7 月 14 日
編集済み: Azzi Abdelmalek 2014 年 7 月 14 日

1 投票

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

その他の回答 (1 件)

Prasad Kalane
Prasad Kalane 2014 年 7 月 14 日

0 投票

Assign variable & take transpose as suggested by azzi sir.

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by