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

2 views (last 30 days)
like i have
a=[1:26]
i want something like
a=[a:z]

Accepted Answer

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

More Answers (1)

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

Categories

Find more on Dates and Time in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!