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

David Young
David Young 2015년 1월 22일
Please don't do it! This would be a terrible solution. Just access the array elements using indexing.
Stephen23
Stephen23 2015년 1월 22일
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개)

cemsi888
cemsi888 2015년 1월 22일

0 개 추천

Thanx a lot Image Analyst

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2015년 1월 22일

답변:

2015년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by