<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: maybe its a bug or something</title>
		<link>http://www.k-wave.org/forum/topic/maybe-its-a-bug-or-something</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:08:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/maybe-its-a-bug-or-something" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "maybe its a bug or something"</title>
			<link>http://www.k-wave.org/forum/topic/maybe-its-a-bug-or-something#post-338</link>
			<pubDate>Wed, 29 Feb 2012 05:21:29 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">338@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;This issue should now be resolved in the latest k-Wave release (B.0.5).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "maybe its a bug or something"</title>
			<link>http://www.k-wave.org/forum/topic/maybe-its-a-bug-or-something#post-268</link>
			<pubDate>Fri, 23 Dec 2011 01:38:39 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">268@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Guoping Chen,&#60;/p&#62;
&#60;p&#62;Thanks for your feedback, well spotted! This indeed looks like a bug. The correct indexing should be:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;source.p(p_index, :) =&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;source.p(p_index, :) .*(dt./(c(ps_index(p_index)).*kgrid.dx));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And similarly using &#60;code&#62;us_index&#60;/code&#62; for the velocity sources. We'll update the codes and release a bug fix.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chenguoping on "maybe its a bug or something"</title>
			<link>http://www.k-wave.org/forum/topic/maybe-its-a-bug-or-something#post-265</link>
			<pubDate>Thu, 22 Dec 2011 21:49:36 +0000</pubDate>
			<dc:creator>chenguoping</dc:creator>
			<guid isPermaLink="false">265@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
  K-wave is a good works, but some details trouble me, or it is a bug.&#60;br /&#62;
  codes:&#60;br /&#62;
  for p_index = 1:length(source.p(:,1))&#60;br /&#62;
  source.p(p_index, :) = source.p(p_index, :) .* (dt./(c(p_index).*kgrid.dx));&#60;br /&#62;
  end&#60;/p&#62;
&#60;p&#62;  in line 616 of the kspaceFirstOrder2D, the aim of the author is :&#60;br /&#62;
  % compute the scale parameter seperately for each source position&#60;br /&#62;
  % based on the sound speed at that position&#60;br /&#62;
  But I think that the p_index to the c matrix can't reach the correctly positon of the source.&#60;br /&#62;
  For example, when the source located in a circle line, and the struction of the source.p only a two dimension matrix, but the c is a 256*256 matrix, the code c(p_index) maybe not right?&#60;br /&#62;
  In addtionally, would your can explain the equation of line 616 clearly to me? Thanks very much!&#60;/p&#62;
&#60;p&#62;  Sincerely,&#60;br /&#62;
  ECE DUKE,Guoping Chen&#60;br /&#62;
  22th, Dec., 2011
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
