<?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: kspacePlaneRecon in matlab r1202b</title>
		<link>http://www.k-wave.org/forum/topic/kspaceplanerecon-in-matlab-r1202b</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:24:57 +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/kspaceplanerecon-in-matlab-r1202b" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "kspacePlaneRecon in matlab r1202b"</title>
			<link>http://www.k-wave.org/forum/topic/kspaceplanerecon-in-matlab-r1202b#post-1069</link>
			<pubDate>Sun, 25 Nov 2012 01:07:58 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1069@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Luke,&#60;/p&#62;
&#60;p&#62;Thanks for posting your fix, it seems to do the trick! We'll incorporate this into the code with some error checking in the next release / update. We also plan to submit a bug report about interp3 to Mathworks.&#60;/p&#62;
&#60;p&#62;Unfortunately there is no private messaging system, but your explanation/code above is clear, and will be easy enough for others to follow.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>luke.burgess on "kspacePlaneRecon in matlab r1202b"</title>
			<link>http://www.k-wave.org/forum/topic/kspaceplanerecon-in-matlab-r1202b#post-1062</link>
			<pubDate>Fri, 23 Nov 2012 04:01:40 +0000</pubDate>
			<dc:creator>luke.burgess</dc:creator>
			<guid isPermaLink="false">1062@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have become very familiar with kspacePlaneRecon and kspaceLineRecon over the last year using matlab r2010a.&#60;/p&#62;
&#60;p&#62;I have just recently changed to matlab r2012b, and installed k-wave v1.0. I saw the note that the mentioned reconstructions no longer work.&#60;/p&#62;
&#60;p&#62;I believe I have fixed the issue for the kspacePlaneRecon, by interchanging interp3 with griddedInterpolant. I believe the other change is the removal of the asterisk, located prior to the interpolation method. e.g, replace '*nearest' with 'nearest'. This feature used to speed up the interp functions but has since been removed. &#60;/p&#62;
&#60;p&#62;I have solved the problem for kspacePlaneRecon, I have the results from the matlab comparison of the original and my version of both kspacePlaneRecon and the Example_pr_3d_fft_planar_sensor. Is there a way to post these html files?&#60;/p&#62;
&#60;p&#62;Here is a list of the changes I made to kspacePlaneRecon.&#60;/p&#62;
&#60;p&#62;Line 106&#60;br /&#62;
replace with&#60;br /&#62;
 interp_method = 'nearest'; &#60;/p&#62;
&#60;p&#62;Line 186&#60;br /&#62;
Replace with&#60;br /&#62;
F = griddedInterpolant( w,kgrid.ky, kgrid.kz, p,  interp_method);&#60;br /&#62;
p=F(w_new,kgrid.ky, kgrid.kz);&#60;/p&#62;
&#60;p&#62;Changes to example_pr_3D_FFT_planar_sensor.m&#60;br /&#62;
Line 95&#60;br /&#62;
F = griddedInterpolant(kgrid_recon.x - min(kgrid_recon.x(:)),kgrid_recon.y - min(kgrid_recon.y(:)), kgrid_recon.z - min(kgrid_recon.z(:)), p_xyz, 'nearest');&#60;br /&#62;
p_xyz_rs = F(kgrid_interp.x  - min(kgrid_interp.x(:)), kgrid_interp.y - min(kgrid_interp.y(:)), kgrid_interp.z - min(kgrid_interp.z(:)));&#60;/p&#62;
&#60;p&#62;I will shortly apply the equivalent to kspaceLineRecon and post it.&#60;/p&#62;
&#60;p&#62;Is there a private message system for this forum, so I can organise to email my m files or comparison htmls. I can just post my email if there is not.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
