Concatenate str and int and store it as a vector
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have two arrays which I would like to concatenate with a string and save it as vector for the following data.
A= [761,2,45,65,900]
B=[56,96,368,879,56]
string = sample
I would like to concatenate the above vectors A and B with the string in the following format [sample_761_56, sample_2_96, sample_45_368, sample_65_879, sample_900_56]
0 comentarios
Respuesta aceptada
Más respuestas (1)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!