Convert 181*1 matrix to 181 times 1*1 matrix

Hi i have 181*1 Matrix and all elements are text. My question is do you know how to create 181 times 1*1 matrix in Workspace from this 181*1 Matrix ? because i want to use all These variables or elements in different equations!!
a=[velocity;mass;volume;acceleration....] which i Need is: [velocity] [mass] [voluem] [acceleration] as an variable thanx a lot

2 个评论

Please don't do it! This would be a terrible solution. Just access the array elements using indexing.
In case you really don't believe that this is a bad idea, here is a third person telling you:
Do not do this!
Learn to use MATLAB's quite powerful indexing abilities instead.

请先登录,再进行评论。

更多回答(1 个)

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by