| MATLAB Central > MATLAB Newsreader > creating loops for a large system of variables |
|
|
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 3 Apr, 2011 17:06:05 Message: 1 of 16 |
|
consider the following simple example. |
|
Subject: creating loops for a large system of variables From: Roger Stafford Date: 3 Apr, 2011 17:38:04 Message: 2 of 16 |
|
"Nate Jensen" wrote in message <ina9ds$qcn$1@fred.mathworks.com>... |
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 3 Apr, 2011 19:50:05 Message: 3 of 16 |
|
> That would not only be a lot of wasted time on for-loops, it would be an awful lot of additions, never mind the for-loops! If each of a thousand variables were to independently vary over just two numbers, the number of necessary additions would exceed the famous "googol" of Edward Kasner fame. There aren't that many atoms in the known universe. |
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 3 Apr, 2011 19:59:04 Message: 4 of 16 |
|
whoops, this line (the 7th line from the end): |
|
Subject: creating loops for a large system of variables From: Matt J Date: 3 Apr, 2011 23:52:04 Message: 5 of 16 |
|
"Nate Jensen" wrote in message <inaj1d$j5b$1@fred.mathworks.com>... |
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 4 Apr, 2011 00:39:04 Message: 6 of 16 |
|
> Pretty elaborate. You couldhave just use NDGRID, like below. But Roger is right. This will quickly become computationally unrealistic when you increase the number of variables. |
|
Subject: creating loops for a large system of variables From: Steven_Lord Date: 4 Apr, 2011 01:39:53 Message: 7 of 16 |
|
|
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 4 Apr, 2011 02:22:02 Message: 8 of 16 |
|
> What problem are you trying to solve using this code? Perhaps there's a way |
|
Subject: creating loops for a large system of variables From: dpb Date: 4 Apr, 2011 02:29:10 Message: 9 of 16 |
|
On 4/3/2011 9:22 PM, Nate Jensen wrote: |
|
Subject: creating loops for a large system of variables From: Steven_Lord Date: 4 Apr, 2011 02:36:03 Message: 10 of 16 |
|
|
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 4 Apr, 2011 02:54:04 Message: 11 of 16 |
|
> > Sounds like a potential for more sophisticated methods for selecting |
|
Subject: creating loops for a large system of variables From: dpb Date: 4 Apr, 2011 03:02:51 Message: 12 of 16 |
|
On 4/3/2011 9:54 PM, Nate Jensen wrote: |
|
Subject: creating loops for a large system of variables From: Nate Jensen Date: 4 Apr, 2011 04:13:03 Message: 13 of 16 |
|
> Or "Latin-Hypercube Sampling" is another buzzword |
|
Subject: creating loops for a large system of variables From: dpb Date: 4 Apr, 2011 04:34:00 Message: 14 of 16 |
|
On 4/3/2011 11:13 PM, Nate Jensen wrote: |
|
Subject: creating loops for a large system of variables From: Rune Allnor Date: 4 Apr, 2011 04:50:10 Message: 15 of 16 |
|
On Apr 4, 4:36 am, "Steven_Lord" <sl...@mathworks.com> wrote: |
|
Subject: creating loops for a large system of variables From: dpb Date: 4 Apr, 2011 14:48:42 Message: 16 of 16 |
|
On 4/3/2011 11:34 PM, dpb wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| loops | Nate Jensen | 3 Apr, 2011 13:09:05 |
