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.

카테고리

도움말 센터File Exchange에서 Data Type Conversion에 대해 자세히 알아보기

질문:

2014년 7월 14일

댓글:

2014년 7월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by