how to make numbering near "a" like: a1, a2, an
Show older comments
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;
Accepted Answer
More Answers (1)
moulay
on 25 Nov 2012
for example_:
% for i=1:2:5
b=['a_' num2str(i)]
end
is that waht are u looking for?
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!