The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   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
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Paul Skvorc" <> wrote in message <h92r4o$3q7$>...
> "Matt Fig" <> wrote in message <h92peb$go2$>...
> > 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.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.