Re: Loops in Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg107678] Re: [mg107655] Loops in Manipulate
- From: benson sundheim <nyuout at optonline.net>
- Date: Mon, 22 Feb 2010 19:04:10 -0500 (EST)
- References: <31633330.1266826380053.JavaMail.root@n11>
David: Thank you for your effort in dealing with my question. I'm afraid I didn't make myself sufficiently clear. My purpose is to study the rate of convergence of a statistical quantity - I intend to vary the number of steps varying between 1000 and 100000 looking at the behavior of the power law characterizing the resulting histograms. Hence I would like to vary the number of steps in he loop via Manipiulate. But Do[Print[n], {n, 1, 3, 1}] works to produce a output list and Manipulate[Do[Print[n], {n, 1, rep, 1}], {r, 1, 3}] produces only a slider and Null. I observe that there is no error message complaining there is a flaw in the iterator. Also note that including a specific reference to rep, such as Print,n,rep}, has no effect. Your further comments would be appreciated. Benson Sundheim