Effacer les filtres
Effacer les filtres

How to make multiple strings arrays of repeating word and number?

10 vues (au cours des 30 derniers jours)
I need to make an array that is like this:
the size of the array may change (larger or smaller than 18). How can I do that sytematically (not repeating or wiritng each individual array member)?

Réponse acceptée

madhan ravi
madhan ravi le 2 Juil 2020
n = 18;
"var" + (1:n)

Plus de réponses (0)


En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by