<?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: Complete Beginner Question</title>
		<link>http://www.k-wave.org/forum/topic/complete-beginner-question</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 21:27:09 +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/complete-beginner-question" rel="self" type="application/rss+xml" />

		<item>
			<title>xf20228 on "Complete Beginner Question"</title>
			<link>http://www.k-wave.org/forum/topic/complete-beginner-question#post-9247</link>
			<pubDate>Tue, 17 Feb 2026 12:48:38 +0000</pubDate>
			<dc:creator>xf20228</dc:creator>
			<guid isPermaLink="false">9247@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I am working through the Homogeneous Propagation Medium Example but get this error when I run the example .m file:&#60;/p&#62;
&#60;p&#62;Arrays have incompatible sizes for this operation.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder2D (line 920)&#60;br /&#62;
        ux_sgx = dt .* rho0_sgx_inv .* real(ifft2( bsxfun(@times, ddx_k_shift_pos, kappa .* fft2(p)) )) / 2;&#60;br /&#62;
                                                                                         ^&#60;br /&#62;
Error in example_ivp_homogeneous_medium (line 67)&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor);&#60;br /&#62;
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&#60;br /&#62;
So far, I have installed MATLAB R2025a, installed k-wave from add-ons, opened the example_ivp_homogeneous_medium.m file in the MATLAB editor, and run the code.&#60;/p&#62;
&#60;p&#62;If someone could tell me what I am doing wrong, I would appreciate it.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
