how increment a name of a variable?

Hi I have a lot of matricies A1, A2, A3, etc etc and they have same size. I would to use command horzcat for have a unic big matrix
if true
% A=horzcat(A1,A1,A3,.....)
end
If I don't want to write all name of matricies but I want to increment the number near the A, what can I do?
thanks a lot

More Answers (1)

Categories

Find more on Get Started with MATLAB 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!