"Paul Skvorc" <email@example.com> wrote in message <firstname.lastname@example.org>... > "Matt Fig" <email@example.com> wrote in message <firstname.lastname@example.org>... > > Why not use a cell array? > > > > help cell > > Why use a cell array?
Smartass answers aside, the issue isn't how to concatenate the 64x128 matrices. That's trivial. The issue is:
The first comparison is between (1:64,1:128) and (1:64,1:128). That's 1 on 2. The second comparison is (1:64,1:128) and (1:64,129:256). The first "cell" doesn't iterate, but the second does, keeping in mind that both are within the arguments of a single function. To add to the problem, the iteration doesn't start at "the beginning" and decrements. In other words, I do not want to match 1 with on or 2 with 2 or 3 with 3 or 4 with for or 5 with 5 or... Therefore at the transition from 1 as the first argument to 2 as the first argument, there is a "two-step". In other words: The last comparison with ones is 1 with 5. The next comparison is neither 2 with 1 (already done) OR 2 with 2. This is the iteration issue. It doesn't touch the naming issues.