MATLAB Answers

0

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

Asked by Max Müller on 14 Jul 2014
Latest activity Commented on by Max Müller on 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 ?

  0 Comments

Sign in to comment.

2 Answers

Answer by Azzi Abdelmalek
on 14 Jul 2014
Edited by Azzi Abdelmalek
on 14 Jul 2014
 Accepted Answer

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

  1 Comment

Thanks a lot.

Sign in to comment.


Answer by Prasad Kalane on 14 Jul 2014

Assign variable & take transpose as suggested by azzi sir.

  0 Comments

Sign in to comment.