<?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: Define the initial pressure as 3DDisk</title>
		<link>http://www.k-wave.org/forum/topic/define-the-initial-pressure-as-3ddisk</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:00:24 +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/define-the-initial-pressure-as-3ddisk" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Define the initial pressure as 3DDisk"</title>
			<link>http://www.k-wave.org/forum/topic/define-the-initial-pressure-as-3ddisk#post-7831</link>
			<pubDate>Wed, 16 Sep 2020 10:55:56 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">7831@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;If you're modelling an initial value problem (i.e., photoacoustics), you can assign the matrix to &#60;code&#62;source.p0&#60;/code&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>HustYjq on "Define the initial pressure as 3DDisk"</title>
			<link>http://www.k-wave.org/forum/topic/define-the-initial-pressure-as-3ddisk#post-7830</link>
			<pubDate>Wed, 16 Sep 2020 03:21:07 +0000</pubDate>
			<dc:creator>HustYjq</dc:creator>
			<guid isPermaLink="false">7830@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Bradley Treeby，&#60;br /&#62;
Thanks for your help.I still have a question.If i have a matrix of initial pressure ,how do i assign it to source.p?In the examples,the pressure in each position is the same.I have not found the intput matrix of initial pressure.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Define the initial pressure as 3DDisk"</title>
			<link>http://www.k-wave.org/forum/topic/define-the-initial-pressure-as-3ddisk#post-7809</link>
			<pubDate>Fri, 11 Sep 2020 10:24:10 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">7809@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi HustYjq,&#60;/p&#62;
&#60;p&#62;The initial pressure distribution is just a matrix, so you can define it to be any shape. One way to make a disc in 3D is to assign a 2D disc to one slice. For example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;disc2D = makeDisc(50, 50, 25, 25, 20);
disc3D = zeros(50, 50, 50);
disc3D(:, :, 25) = disc2D;
voxelPlot(disc3D);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>HustYjq on "Define the initial pressure as 3DDisk"</title>
			<link>http://www.k-wave.org/forum/topic/define-the-initial-pressure-as-3ddisk#post-7789</link>
			<pubDate>Sat, 05 Sep 2020 02:55:37 +0000</pubDate>
			<dc:creator>HustYjq</dc:creator>
			<guid isPermaLink="false">7789@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I want to simulate Photoacoustic Waveforms in 3D.In the examples,the initial pressure distribution is defined as a ball (filled sphere) using makeBall.However,I have a 3DDisk initial pressure.I don’t know whether its shape can be changed.So can anyone tell me how to define it?&#60;/p&#62;
&#60;p&#62;Any help will be appreciated.&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
