how to make numbering near "a" like: a1, a2, an
显示 更早的评论
Hi,
Could you please tell me how to increase number near "a" so it could look like this:
b = 1; "ab = something" b = b + 1; ...
a1 = something; a2 = something; ... an = something;
采纳的回答
更多回答(1 个)
moulay
2012-11-25
for example_:
% for i=1:2:5
b=['a_' num2str(i)]
end
is that waht are u looking for?
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!