<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.soft-sys.math.mathematica Google Group</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica</link>
  <description>Mathematica discussion group. (Moderated)</description>
  <language>en</language>
  <item>
  <title>Re: Strange behavior when using pattern match and HoldAll</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/c062579f93e093a6/86bc6e8425eaf404?show_docid=86bc6e8425eaf404</link>
  <description>
  dnquark schrieb: &lt;br&gt; Because of the HoldAll attribute the argument is the symbol lst, not &lt;br&gt; it&#39;s value, the List {1,2,3}. This is why it doesn&#39;t match the pattern &lt;br&gt; _List but _Symbol and thus the function body is never executed. You can &lt;br&gt; check that this works: &lt;br&gt; Clear[test]; &lt;br&gt; SetAttributes[test, HoldAll]; &lt;br&gt; test[list_Symbol, val_] := list[[2]] = val;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/c062579f93e093a6/86bc6e8425eaf404?show_docid=86bc6e8425eaf404</guid>
  <author>
  a...@gmx-topmail.de
  (Albert Retey)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:27:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: What is going on!?!</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/bf6c210f9642b82c?show_docid=bf6c210f9642b82c</link>
  <description>
  Joe Hays schrieb: &lt;br&gt; you are multiplying the result of the For loop with x, which happens to &lt;br&gt; be 10. And from the documentation: &lt;br&gt; &amp;quot;Unless an explicit Return is used, the value returned by For is Null.&amp;quot; &lt;br&gt; which is why the result of the loop times 10 is 10*Null... &lt;br&gt; hth, &lt;br&gt; albert
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/bf6c210f9642b82c?show_docid=bf6c210f9642b82c</guid>
  <author>
  a...@gmx-topmail.de
  (Albert Retey)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:27:04 UT
</pubDate>
  </item>
  <item>
  <title>Another Monitor problem</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/9c233756e0fa76ab/e8b66408f4bd61aa?show_docid=e8b66408f4bd61aa</link>
  <description>
  Hello, &lt;br&gt; is it possible to monitor the intermediate state of a calculation with &lt;br&gt; Monitor inside the action argument of a Button? The following Monitor &lt;br&gt; example without a Button works: &lt;br&gt; Monitor[Do[i, {i, 10^7}], Refresh[Pause[0.03]; i, UpdateInterval -&amp;gt; &lt;br&gt; 0.01]] &lt;br&gt; However, when the calculation is started by a Button only the final
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/9c233756e0fa76ab/e8b66408f4bd61aa?show_docid=e8b66408f4bd61aa</guid>
  <author>
  hanneskess...@hushmail.com
  (Hannes Kessler)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:26:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: fitting</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/96abc3b6ce686216/f75540f0ad28a4d7?show_docid=f75540f0ad28a4d7</link>
  <description>
  You haven&#39;t said what your &#39;x&#39; represents or how it is supposed to &lt;br&gt; relate to the Beta distribution. If we take the values as the counts &lt;br&gt; in equal-width bins that cover [0,1], then we can get the sample mean &lt;br&gt; and variance using the midpoints of the bins as the x-values, and use &lt;br&gt; the method of moments to estimate &#39;a&#39; and &#39;b&#39;, the parameters of the
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/96abc3b6ce686216/f75540f0ad28a4d7?show_docid=f75540f0ad28a4d7</guid>
  <author>
  koop...@sfu.ca
  (Ray Koopman)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:26:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: What is going on!?!</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/7203374d279613e7?show_docid=7203374d279613e7</link>
  <description>
  Your For function returns Null, and this is getting multiplied by x &lt;br&gt; because you forgot the semicolon after the ] . &lt;br&gt; David Bailey &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.dbaileyconsultancy.co.uk&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/7203374d279613e7?show_docid=7203374d279613e7</guid>
  <author>
  d...@removedbailey.co.uk
  (David Bailey)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:10:54 UT
</pubDate>
  </item>
  <item>
  <title>Re: Complex solutions to simple equations</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/48a75caeaea207dc/cd1ce8351340e14c?show_docid=cd1ce8351340e14c</link>
  <description>
  Didn&#39;t your teacher tell you how to do this, or give you a reading list? &lt;br&gt; This board is not here to answer homework questions - what would be the &lt;br&gt; point? &lt;br&gt; David Bailey &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.dbaileyconsultancy.co.uk&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/48a75caeaea207dc/cd1ce8351340e14c?show_docid=cd1ce8351340e14c</guid>
  <author>
  d...@removedbailey.co.uk
  (David Bailey)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:10:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: What is going on!?!</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/cca2619c1442c526?show_docid=cca2619c1442c526</link>
  <description>
  The output of the For is Null (from documentation on For: &amp;quot;Unless an explicit Return is used, the value returned by For is Null.&amp;quot;). When multiplied by x (i.e., 10) gives 10*Null. Put the semi-colon after the right bracket. &lt;br&gt; x = 0; &lt;br&gt; For[i = 1, i &amp;lt;= 10, i++, x = x + 1]; x &lt;br&gt; 10 &lt;br&gt; Bob Hanlon &lt;br&gt; ============= &lt;br&gt; Can anyone tell me why the output is not a simple &amp;quot;10&amp;quot; instead of &amp;quot;10 Null&amp;quot;?
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/cca2619c1442c526?show_docid=cca2619c1442c526</guid>
  <author>
  hanl...@cox.net
  (Bob Hanlon)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:10:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: What is going on!?!</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/b04c176b4910355c?show_docid=b04c176b4910355c</link>
  <description>
  Per the documentation, For returns Null. So For[....] x &lt;br&gt; evaluates to x times Null which is what you got. If you want &lt;br&gt; simply the result then change the code to be: &lt;br&gt; =46or[i = 1, i &amp;lt;= 10, i++, &lt;br&gt; x = x + 1; &lt;br&gt; ]; x &lt;br&gt; Or even better &lt;br&gt; Sum[n,,{n,10}]
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/b04c176b4910355c?show_docid=b04c176b4910355c</guid>
  <author>
  readn...@sbcglobal.net
  (Bill Rowe)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:08:45 UT
</pubDate>
  </item>
  <item>
  <title>Re: Can&#39;t figure out how to include syntax coloring in Printout</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/66adc7ec6ebe2c84/a87a97c20c5b2238?show_docid=a87a97c20c5b2238</link>
  <description>
  Perfect - thanks, John.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/66adc7ec6ebe2c84/a87a97c20c5b2238?show_docid=a87a97c20c5b2238</guid>
  <author>
  juneap...@gmail.com
  (Adam)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:08:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: find subsets</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/44a7d7411b6c6a45?show_docid=44a7d7411b6c6a45</link>
  <description>
  In[4]:= Cases[ &lt;br&gt; Subsets[{a, b, c, d, e}, &lt;br&gt; 3], _?(Length[Intersection[#, {c, b}]] == 2 &amp;amp;)] &lt;br&gt; Out[4]= {{b,c},{a,b,c},{b,c,d},{b,c,e} }
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/44a7d7411b6c6a45?show_docid=44a7d7411b6c6a45</guid>
  <author>
  readn...@sbcglobal.net
  (Bill Rowe)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:08:23 UT
</pubDate>
  </item>
  <item>
  <title>Simplification problem</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/51bfa717ee9d02d9/1761450249d86031?show_docid=1761450249d86031</link>
  <description>
  Hello mathematica community &lt;br&gt; Having this system of equations: &lt;br&gt; (z1==z2 &amp;amp;&amp;amp; x*t==x1*t1)||(z1+x1*t1==z2+x2* t2) &lt;br&gt; why a function like fullsimplify or booleanminimize doesn&#39;t simplify &lt;br&gt; it into z1+x1*t1==z2+x2*t2? &lt;br&gt; same question for (y1==y2 &amp;amp;&amp;amp; t1== t2)||(t1/2^y1==t2/2^y2) why it is &lt;br&gt; not simplified into t1/2^y1==t2/2^y2.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/51bfa717ee9d02d9/1761450249d86031?show_docid=1761450249d86031</guid>
  <author>
  olfa.mra...@yahoo.fr
  (olfa)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:08:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: find subsets</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/8a02786c055dfc73?show_docid=8a02786c055dfc73</link>
  <description>
  Hi, &lt;br&gt; for initial set not too large, the following function should do: &lt;br&gt; Clear[getSubsets] &lt;br&gt; getSubsets[sets_List, all_List] := &lt;br&gt; Select[sets, Complement[all, #] === {} &amp;amp;]; &lt;br&gt; getSubsets[sets_List, all_List, {}] := getSubsets[sets, all]; &lt;br&gt; getSubsets[sets_List, all_List, oneOf_List] := &lt;br&gt; Select[getSubsets[sets, all], MemberQ[#, Alternatives @@ oneOf] &amp;amp;];
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/8a02786c055dfc73?show_docid=8a02786c055dfc73</guid>
  <author>
  lsh...@gmail.com
  (Leonid Shifrin)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:08:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: find subsets</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/f7160af93f5dfa29?show_docid=f7160af93f5dfa29</link>
  <description>
  It&#39;s a good practice to use names that begin with a lower case letter, &lt;br&gt; to avoid conflict with the names of built-in symbols and functions. &lt;br&gt; Select together with MemberQ will do the job. First, generate the subsets: &lt;br&gt; sets = Subsets[{a, b, c, d, e}, {3}] &lt;br&gt; This will select the ones that contain b: &lt;br&gt; Select[sets, MemberQ[#, b] &amp;amp;]
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/f7160af93f5dfa29?show_docid=f7160af93f5dfa29</guid>
  <author>
  h...@together.net
  (Helen Read)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:07:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: What is going on!?!</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/9e206aa2d8580cea?show_docid=9e206aa2d8580cea</link>
  <description>
  I think it is generally a good technique to put multiple statements in one &lt;br&gt; cell, but you need to insert a line return (Enter) before the last x. That &lt;br&gt; is, the last x should be on a separate line - but in the same cell. &lt;br&gt; Because of the last &amp;quot;;&amp;quot; the For statement returned a Null, which would &lt;br&gt; normally suppress output from a line, but you multiplied it by x and that&#39;s
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/9e206aa2d8580cea?show_docid=9e206aa2d8580cea</guid>
  <author>
  djmp...@comcast.net
  (David Park)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:07:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: How can I reduce the frequency of a sine wave tia sal22</title>
  <link>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/a2cc1bb320f39594/db256b13c6e91d66?show_docid=db256b13c6e91d66</link>
  <description>
  With a continuous, cyclic function it&#39;s a bit trivial: &lt;br&gt; a = Sin[10 x]; &lt;br&gt; aim = Sin[5 x]; &lt;br&gt; factor = (a + aim)/a - 1; &lt;br&gt; Plot[a*factor, {x, 0, 2 \[Pi]}] &lt;br&gt; For more complex cases you&#39;d require deconvolution, e.g. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://terpconnect.umd.edu/~toh/spectrum/Deconvolution.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I&#39;m looking forward to seeing any illustrative posts.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/a2cc1bb320f39594/db256b13c6e91d66?show_docid=db256b13c6e91d66</guid>
  <author>
  deg...@cwgsy.net
  (Chris Degnen)
  </author>
  <pubDate>Sun, 11 Nov 2009 12:06:39 UT
</pubDate>
  </item>
  </channel>
</rss>
