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

3 次查看(过去 30 天)
like i have
a=[1:26]
i want something like
a=[a:z]

采纳的回答

Walter Roberson
Walter Roberson 2013-3-2

更多回答(1 个)

ChristianW
ChristianW 2013-3-2
a = 1:26;
astr = char(96+a);

类别

Help CenterFile Exchange 中查找有关 Specialized Power Systems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by