<?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; User Favorites: jackYANG</title>
		<link><a href='http://www.k-wave.org/forum/profile/jackyang'>jackyang</a></link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:58:21 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Some questions about the matlab code for kspaceLineRecon?"</title>
			<link>http://www.k-wave.org/forum/topic/some-questions-about-the-matlab-code-for-kspacelinerecon#post-3752</link>
			<pubDate>Mon, 24 Jun 2013 21:50:03 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">3752@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Seongjun,&#60;/p&#62;
&#60;p&#62;These two lines, &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;kgrid = makeGrid(Nt, dt*c, Ny, dy);
w = c*kgrid.kx;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;are just a way of using the machinery of the makeGrid command to calculate the vector of frequencies that the FFT returns the data at when Fourier transforming in from time to frequency. Don't read too much significance into the use of kx here. The frequencies to which the data needs to be transformed are then calculated using &#60;code&#62;w_new = (c*kgrid.k);&#60;/code&#62; as makeGrid has already calculated kgrid.k = sqrt(kx^2+ky^2).&#60;/p&#62;
&#60;p&#62;So, &#60;code&#62;w&#60;/code&#62; contains the frequencies at which the data has been recorded, which are evenly spaced, whereas &#60;code&#62;w_new&#60;/code&#62; contains the frequencies (not evenly spaced) at which the data needs to be known if the dispersion relation it going to map the data to points evenly spaced in (kx,ky).&#60;/p&#62;
&#60;p&#62;I hope that's clearer!&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Seongjun Park on "Some questions about the matlab code for kspaceLineRecon?"</title>
			<link>http://www.k-wave.org/forum/topic/some-questions-about-the-matlab-code-for-kspacelinerecon#post-3738</link>
			<pubDate>Fri, 21 Jun 2013 05:27:36 +0000</pubDate>
			<dc:creator>Seongjun Park</dc:creator>
			<guid isPermaLink="false">3738@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Dr. Treeby and Dr. Cox,&#60;/p&#62;
&#60;p&#62;First of all, thanks for sharing this great toolbox. &#60;/p&#62;
&#60;p&#62;I am trying to understand how the PA reconstruction is realized by Matlab. From the paper(Kornel P. Kostli and et.al, APPLIED OPTICS, Vol.42, no.10, 1 April 2003), the detected signal is the function of p(t, y) and its Fourier transform simply gives P(w,ky). Then, the transform w to kx by dispersion relation &#38;amp; interpolation gives P(kx,ky). So far, everying is clear. But, during realizing these procedures with Matlab, there are some difficulies for me to understand:&#60;br /&#62;
1. From Your Matlab code (KspaceLinRecon.m), w is defined as w=c*kgrid.kx instread of w=c*(kx^2+ky^2)^1/2 which is from dispersion relation. Both are identical? Or Am I misunderstanding? &#60;/p&#62;
&#60;p&#62;2. Similarly, w_new which may refer to kx is defined as w_new=c*kgrid.k instead of w_new=((w/c)^2-kgrid.ky^2)^1/2. Would you explain why? &#60;/p&#62;
&#60;p&#62;3. From the code 'p=sf.*fftshift(fftn(fftshift(p)))', Would you let me know why fftshift(p) is used? When I run the simulation after replacing it with p=sf.*fftshift(fftn(p)) it gives odd outcome which is wrong.&#60;/p&#62;
&#60;p&#62;Sorry for taking away your precious time.&#60;br /&#62;
Thank you. &#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Seongjun Park
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
