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!