Assign to cell elements with both string and number?
이전 댓글 표시
Hi ,
Could someone tell me how to assign to cell element with both string and number? For example with my simple code:
clc
close all
clear all
text={'STT'}
x=1:10
The result I want to get is
text{'STT';'1';'2';'3';...;'10'}
Thank you.
댓글 수: 2
Andrew Newell
2014년 12월 3일
I presume you mean
text = {'STT';'1';'2';'3';...;'10'}
?
Khanh
2014년 12월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!