Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Combinations, iterations, indices and file names
Replies: 7   Last Post: Sep 19, 2009 9:13 PM

 Messages: [ Previous | Next ]
 Paul Skvorc Posts: 13 Registered: 2/6/07
Re: Combinations, iterations, indices and file names
Posted: Sep 19, 2009 11:06 AM

"Paul Skvorc" <pskvorc@biopar.com> wrote in message <h92r4o\$3q7\$1@fred.mathworks.com>...
> "Matt Fig" <spamanon@yahoo.com> wrote in message <h92peb\$go2\$1@fred.mathworks.com>...
> > 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.

Paul

Date Subject Author
9/18/09 Paul Skvorc
9/19/09 mike zander
9/19/09 Paul Skvorc
9/19/09 Paul Skvorc
9/19/09 mike zander
9/19/09 Paul Skvorc
9/19/09 Paul Skvorc
9/19/09 Paul Skvorc