<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.soft-sys.matlab Google Group</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab</link>
  <description>The MathWorks calculation and visualization package.</description>
  <language>en</language>
  <item>
  <title>Re: Vectorization</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/0faae8f2e004f8f3/7db0f0703cf679a5?show_docid=7db0f0703cf679a5</link>
  <description>
  How did you get ndfun to work in 64 bits? I tried pointing mex to the blas and lapack libraries included in $MATLABROOT/bin/glnxa64 (I am using the 64bit linux version) and after fixing one or two of the comments it compiles. However, it segfaults whenever I run it.
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/0faae8f2e004f8f3/7db0f0703cf679a5?show_docid=7db0f0703cf679a5</guid>
  <author>
  guerra.remove.t...@physics.harvard.edu
  (Rodrigo)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:57:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: please help : ??? Index exceeds matrix dimensions.</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/38d73ead612d5fc3/002ad3efc8661692?show_docid=002ad3efc8661692</link>
  <description>
  Musste eben lachen, als ich das gelesen hatte. You can please the debugger kam etwas unklar bei mir an - du kannst dem Debugger eine Freude machen... mag er lieber Rosen oder Schokolade? &lt;br&gt; Grüsse
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/38d73ead612d5fc3/002ad3efc8661692?show_docid=002ad3efc8661692</guid>
  <author>
  clfei...@web.de
  (Hans Müller)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:57:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to achieve ultimate summing speed?</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a2f715b60548ac8f/aced32715c0a50de?show_docid=aced32715c0a50de</link>
  <description>
  For this simple iteration over each column, with no dependencies between each one, the easiest way (IMHO) to parallelize this is with an OpenMP pragma before the first (outer) for loop. And it&#39;s completely platform independent. &lt;br&gt; Oliver
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a2f715b60548ac8f/aced32715c0a50de?show_docid=aced32715c0a50de</guid>
  <author>
  o.j.woodford...@cantab.net
  (Oliver Woodford)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:56:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: making local variable global</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/b37f1b794fe8f25a/716632c5d96564c6?show_docid=716632c5d96564c6</link>
  <description>
  I know I can. What I&#39;m worried about is that the message says this ability to turn local variable into global will be discontinued in the future. So I&#39;m looking for an alternative way doing it.
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/b37f1b794fe8f25a/716632c5d96564c6?show_docid=716632c5d96564c6</guid>
  <author>
  nikitchmpub...@gmail.com
  (Max )
  </author>
  <pubDate>Thu, 11 Mar 2010 22:52:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: how to avoid a double for loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a42fbb88a0906c10/1af6a7a47480742d?show_docid=1af6a7a47480742d</link>
  <description>
  You might try this. It uses only one call to &#39;unique&#39;. The result is placed in B. &lt;br&gt; T = A.&#39;; &lt;br&gt; p = T(:,1)==1; &lt;br&gt; T(p,:) = 1-T(p,:); % Complement T rows that have 1 in first col. &lt;br&gt; [t,m,t] = unique(T,&#39;rows&#39;); % Reduce to unique T rows (&#39;last&#39;) &lt;br&gt; B = A(:,sort(m)); % Reduce to corresponding cols. in A &lt;br&gt; Roger Stafford
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a42fbb88a0906c10/1af6a7a47480742d?show_docid=1af6a7a47480742d</guid>
  <author>
  ellieandrogerxy...@mindspring.com.invalid
  (Roger Stafford)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:52:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: instead of For loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/1cec94b00c35e12a?show_docid=1cec94b00c35e12a</link>
  <description>
  Are you sure the sum isn&#39;t supposed to range over positive n-m? &lt;br&gt; Otherwise, you&#39;re inevitably going to get inf as the result (as Oleg did in his version of the calculation).
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/1cec94b00c35e12a?show_docid=1cec94b00c35e12a</guid>
  <author>
  mattjacrem...@thisieee.spam
  (Matt J )
  </author>
  <pubDate>Thu, 11 Mar 2010 22:48:02 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to achieve ultimate summing speed?</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a2f715b60548ac8f/1caf46c2048390e4?show_docid=1caf46c2048390e4</link>
  <description>
  James, I&#39;m surprised a speed demon like you is using mxCreateDoubleMatrix like that. Since it sets the matrix to zero first it drags the whole matrix through the cache once, before you even write to it. Since you then set every entry later you don&#39;t need to do that. See a discussion on the subject, and solution, here:
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a2f715b60548ac8f/1caf46c2048390e4?show_docid=1caf46c2048390e4</guid>
  <author>
  o.j.woodford...@cantab.net
  (Oliver Woodford)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:43:04 UT
</pubDate>
  </item>
  <item>
  <title>displaying &quot;half&quot; of a 3d plot</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/126db8ea3c9371fc/2deec2de6bdbef14?show_docid=2deec2de6bdbef14</link>
  <description>
  Hi guys, &lt;br&gt; I would like to display only half of a 3d plot to show some details of the functions. &lt;br&gt; More specificly, I want to make a diagonal cut through the 3d plot, and only display one half. &lt;br&gt; I could get it to work using plot3, but I really would need to represent a surface. &lt;br&gt; That&#39;s what I came up with so far:
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/126db8ea3c9371fc/2deec2de6bdbef14?show_docid=2deec2de6bdbef14</guid>
  <author>
  schreiber.pete...@gmail.com
  (Peter Schreiber)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:37:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: periodogram function</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a8093e6f62dc4b01/c43cab894a2c133a?show_docid=c43cab894a2c133a</link>
  <description>
  Wayne &lt;br&gt; Are you sure about this? &lt;br&gt; I thought it transferred all the segments to the freq domain (using &lt;br&gt; FFT), squared (to get PSD), then took the mean. &lt;br&gt; If you do this in the time domain, as you suggest, you could &lt;br&gt; conceivably cancel the signal before it gets transformed.
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/a8093e6f62dc4b01/c43cab894a2c133a?show_docid=c43cab894a2c133a</guid>
  <author>
  mul...@gmail.com
  (TideMan)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:36:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: please help : ??? Index exceeds matrix dimensions.</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/38d73ead612d5fc3/1ee4a3da66861b7b?show_docid=1ee4a3da66861b7b</link>
  <description>
  Hi, &lt;br&gt; I do apologise, &lt;br&gt; I didn&#39;t want to offend anybody, I just tried to make a (obviously &lt;br&gt; unsuccessful) joke of entering discussion in the language I don&#39;t speak. &lt;br&gt; cheers, &lt;br&gt; Gordan
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/38d73ead612d5fc3/1ee4a3da66861b7b?show_docid=1ee4a3da66861b7b</guid>
  <author>
  gordan.sikic.rem...@this.inet.hr
  (Leclerc)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:30:58 UT
</pubDate>
  </item>
  <item>
  <title>Re: Logging number of computations and memory ussage</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/f6c91dded86ee742/d927e628321b5b7e?show_docid=d927e628321b5b7e</link>
  <description>
  That depends on how you define &amp;quot;effective&amp;quot;. If you have a machine with very &lt;br&gt; little memory, but you can start the program running when you leave for the &lt;br&gt; night and get the results when you return in the morning, &amp;quot;effective&amp;quot; would &lt;br&gt; mean &amp;quot;memory efficient&amp;quot;. On the other hand, if you need results RIGHT NOW
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/f6c91dded86ee742/d927e628321b5b7e?show_docid=d927e628321b5b7e</guid>
  <author>
  sl...@mathworks.com
  (Steven Lord)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:30:35 UT
</pubDate>
  </item>
  <item>
  <title>Re: instead of For loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/294758b1d4dfb551?show_docid=294758b1d4dfb551</link>
  <description>
  You *will* have to use a for loop. You might hide &lt;br&gt; that fact behind the voodoo of &#39;vectorization&#39;, &lt;br&gt; but the for-loop will be there, nonetheless. &lt;br&gt; Apart from that, depending on the details that &lt;br&gt; are missing (the &#39;-*&#39; somebody already commented on) &lt;br&gt; you might be able to simplify the expression a bit, &lt;br&gt; possibly being able to exploit symmetries etc.
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/294758b1d4dfb551?show_docid=294758b1d4dfb551</guid>
  <author>
  all...@tele.ntnu.no
  (Rune Allnor)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:20:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: instead of For loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/2fb9a2ca72088acb?show_docid=2fb9a2ca72088acb</link>
  <description>
  That is why I requested the actual code. If the OP *doesn&#39;t* get inf, then what was posted above in non-MATLAB notation is incorrect or something else is wrong. The OP claimed that the FOR loops were taking a long time, which seems to imply that there was some value being produced which was not inf. I guess we shall see ;-)
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/2fb9a2ca72088acb?show_docid=2fb9a2ca72088acb</guid>
  <author>
  spama...@yahoo.com
  (Matt Fig)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:19:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: instead of For loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/ac2703e943a8e184?show_docid=ac2703e943a8e184</link>
  <description>
  Well, one of the terms look like exp(-(0-999)*999) = exp(999*999) = inf. &lt;br&gt; So here is how to calculate the entire sum without any for loops: &lt;br&gt; inf &lt;br&gt; What are you doing? &lt;br&gt; James Tursa
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/ac2703e943a8e184?show_docid=ac2703e943a8e184</guid>
  <author>
  aclassyguy_with_a_k_not_...@hotmail.com
  (James Tursa)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:19:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: instead of For loop</title>
  <link>http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/5733fbdd895e172a?show_docid=5733fbdd895e172a</link>
  <description>
  I interpret it as -1*(n-m). I implemente it as: &lt;br&gt; Out = sum(exp(reshape(-bsxfun(@times ,bsxfun(@minus, (0:999).&#39;,0:999),0:999),[],1)) ); &lt;br&gt; which gives inf... &lt;br&gt; I&#39;m sure it&#39;s some form of note matrix...but I&#39;m not a matematician. &lt;br&gt; Oleg
  </description>
  <guid isPermaLink="true">http://groups.google.no/group/comp.soft-sys.matlab/browse_thread/thread/5d249a48ef9ad164/5733fbdd895e172a?show_docid=5733fbdd895e172a</guid>
  <author>
  oleg.komarovremove.t...@hotmail.it
  (Oleg Komarov)
  </author>
  <pubDate>Thu, 11 Mar 2010 22:09:05 UT
</pubDate>
  </item>
  </channel>
</rss>
