string problem
조회 수: 1 (최근 30일)
이전 댓글 표시
hi, i have two strings
string1='a'
string2='b'
how do i get these into an array so i get:
total=['a', 'b']
I know the above is easy, but i want to be able to add n strings together into the total string array, n has to be defined by the user, in this case it is 2. (the strings can be anything i have just used the alphabet as an example)
I hope this makes sense!
댓글 수: 2
Walter Roberson
2012년 5월 11일
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
2012년 5월 11일
Duplicate is at http://www.mathworks.com/matlabcentral/answers/38113-plot-help
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!