Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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" <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



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.