Combining a number and a string array (both columns) into a single column string array.

How can the number array:
NUMM=linspace(1,10,10)'
and the string array:
STRR=repmat('X='10,1)
be combined to give a string array?
["X=1"
"X=2"
...
"X=10"]

类别

帮助中心File Exchange 中查找有关 Characters and Strings 的更多信息

产品

版本

R2021b

提问:

2022-2-14

评论:

2022-2-15

Community Treasure Hunt

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

Start Hunting!

Translated by