<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica</id>
  <title type="text">comp.soft-sys.math.mathematica Google Group</title>
  <subtitle type="text">
  Mathematica discussion group. (Moderated)
  </subtitle>
  <link href="/group/comp.soft-sys.math.mathematica/feed/atom_v1_0_msgs.xml" rel="self" title="comp.soft-sys.math.mathematica feed"/>
  <updated>2009-11-08T12:27:20Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Albert Retey</name>
  <email>a...@gmx-topmail.de</email>
  </author>
  <updated>2009-11-08T12:27:20Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/c062579f93e093a6/86bc6e8425eaf404?show_docid=86bc6e8425eaf404</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/c062579f93e093a6/86bc6e8425eaf404?show_docid=86bc6e8425eaf404"/>
  <title type="text">Re: Strange behavior when using pattern match and HoldAll</title>
  <summary type="html" xml:space="preserve">
  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;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Albert Retey</name>
  <email>a...@gmx-topmail.de</email>
  </author>
  <updated>2009-11-08T12:27:04Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/bf6c210f9642b82c?show_docid=bf6c210f9642b82c</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/bf6c210f9642b82c?show_docid=bf6c210f9642b82c"/>
  <title type="text">Re: What is going on!?!</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hannes Kessler</name>
  <email>hanneskess...@hushmail.com</email>
  </author>
  <updated>2009-11-08T12:26:50Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/9c233756e0fa76ab/e8b66408f4bd61aa?show_docid=e8b66408f4bd61aa</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/9c233756e0fa76ab/e8b66408f4bd61aa?show_docid=e8b66408f4bd61aa"/>
  <title type="text">Another Monitor problem</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ray Koopman</name>
  <email>koop...@sfu.ca</email>
  </author>
  <updated>2009-11-08T12:26:37Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/96abc3b6ce686216/f75540f0ad28a4d7?show_docid=f75540f0ad28a4d7</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/96abc3b6ce686216/f75540f0ad28a4d7?show_docid=f75540f0ad28a4d7"/>
  <title type="text">Re: fitting</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Bailey</name>
  <email>d...@removedbailey.co.uk</email>
  </author>
  <updated>2009-11-08T12:10:54Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/7203374d279613e7?show_docid=7203374d279613e7</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/7203374d279613e7?show_docid=7203374d279613e7"/>
  <title type="text">Re: What is going on!?!</title>
  <summary type="html" xml:space="preserve">
  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;
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Bailey</name>
  <email>d...@removedbailey.co.uk</email>
  </author>
  <updated>2009-11-08T12:10:43Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/48a75caeaea207dc/cd1ce8351340e14c?show_docid=cd1ce8351340e14c</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/48a75caeaea207dc/cd1ce8351340e14c?show_docid=cd1ce8351340e14c"/>
  <title type="text">Re: Complex solutions to simple equations</title>
  <summary type="html" xml:space="preserve">
  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;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bob Hanlon</name>
  <email>hanl...@cox.net</email>
  </author>
  <updated>2009-11-08T12:10:30Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/cca2619c1442c526?show_docid=cca2619c1442c526</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/cca2619c1442c526?show_docid=cca2619c1442c526"/>
  <title type="text">Re: What is going on!?!</title>
  <summary type="html" xml:space="preserve">
  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;?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bill Rowe</name>
  <email>readn...@sbcglobal.net</email>
  </author>
  <updated>2009-11-08T12:08:45Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/b04c176b4910355c?show_docid=b04c176b4910355c</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/b04c176b4910355c?show_docid=b04c176b4910355c"/>
  <title type="text">Re: What is going on!?!</title>
  <summary type="html" xml:space="preserve">
  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}]
  </summary>
  </entry>
  <entry>
  <author>
  <name>Adam</name>
  <email>juneap...@gmail.com</email>
  </author>
  <updated>2009-11-08T12:08:34Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/66adc7ec6ebe2c84/a87a97c20c5b2238?show_docid=a87a97c20c5b2238</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/66adc7ec6ebe2c84/a87a97c20c5b2238?show_docid=a87a97c20c5b2238"/>
  <title type="text">Re: Can&#39;t figure out how to include syntax coloring in Printout</title>
  <summary type="html" xml:space="preserve">
  Perfect - thanks, John.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bill Rowe</name>
  <email>readn...@sbcglobal.net</email>
  </author>
  <updated>2009-11-08T12:08:23Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/44a7d7411b6c6a45?show_docid=44a7d7411b6c6a45</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/44a7d7411b6c6a45?show_docid=44a7d7411b6c6a45"/>
  <title type="text">Re: find subsets</title>
  <summary type="html" xml:space="preserve">
  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} }
  </summary>
  </entry>
  <entry>
  <author>
  <name>olfa</name>
  <email>olfa.mra...@yahoo.fr</email>
  </author>
  <updated>2009-11-08T12:08:11Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/51bfa717ee9d02d9/1761450249d86031?show_docid=1761450249d86031</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/51bfa717ee9d02d9/1761450249d86031?show_docid=1761450249d86031"/>
  <title type="text">Simplification problem</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Leonid Shifrin</name>
  <email>lsh...@gmail.com</email>
  </author>
  <updated>2009-11-08T12:08:00Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/8a02786c055dfc73?show_docid=8a02786c055dfc73</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/8a02786c055dfc73?show_docid=8a02786c055dfc73"/>
  <title type="text">Re: find subsets</title>
  <summary type="html" xml:space="preserve">
  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;];
  </summary>
  </entry>
  <entry>
  <author>
  <name>Helen Read</name>
  <email>h...@together.net</email>
  </author>
  <updated>2009-11-08T12:07:48Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/f7160af93f5dfa29?show_docid=f7160af93f5dfa29</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/deb7fd93953b72d2/f7160af93f5dfa29?show_docid=f7160af93f5dfa29"/>
  <title type="text">Re: find subsets</title>
  <summary type="html" xml:space="preserve">
  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;]
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Park</name>
  <email>djmp...@comcast.net</email>
  </author>
  <updated>2009-11-08T12:07:36Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/9e206aa2d8580cea?show_docid=9e206aa2d8580cea</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/6af73dafff31cf04/9e206aa2d8580cea?show_docid=9e206aa2d8580cea"/>
  <title type="text">Re: What is going on!?!</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Chris Degnen</name>
  <email>deg...@cwgsy.net</email>
  </author>
  <updated>2009-11-08T12:06:39Z</updated>
  <id>http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/a2cc1bb320f39594/db256b13c6e91d66?show_docid=db256b13c6e91d66</id>
  <link href="http://groups.google.co.uk/group/comp.soft-sys.math.mathematica/browse_thread/thread/a2cc1bb320f39594/db256b13c6e91d66?show_docid=db256b13c6e91d66"/>
  <title type="text">Re: How can I reduce the frequency of a sine wave tia sal22</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
</feed>
