Azzera filtri
Azzera filtri

how can i make an array of letters? is it possible

1 visualizzazione (ultimi 30 giorni)
like i have
a=[1:26]
i want something like
a=[a:z]

Risposta accettata

Walter Roberson
Walter Roberson il 2 Mar 2013
a = 'a':'z';

Più risposte (1)

ChristianW
ChristianW il 2 Mar 2013
a = 1:26;
astr = char(96+a);

Categorie

Scopri di più su Specialized Power Systems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by