create an array contain no of string adding one by one
显示 更早的评论
I would like to create an array in such a way that suppose the first element is 'Hi', second element is 'I', third element is 'am' and so on e.g. array(1) = 'Hi' array(2) = 'I' array(3) = 'am' array(4) = 'ABCD'
采纳的回答
更多回答(2 个)
Azzi Abdelmalek
2012-11-2
A={'Hi','I','am','ABCD'}
类别
在 帮助中心 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!