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

86 ビュー (過去 30 日間)
Max Müller
Max Müller 2014 年 7 月 14 日
コメント済み: Max Müller 2014 年 7 月 14 日
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 日
A=[1;2;3]
B=A'
  1 件のコメント
Max Müller
Max Müller 2014 年 7 月 14 日
Thanks a lot.

サインインしてコメントする。

その他の回答 (1 件)

Prasad Kalane
Prasad Kalane 2014 年 7 月 14 日
Assign variable & take transpose as suggested by azzi sir.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by