<?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: Graphing data ( Monopole source in the homogenous propagation medium )</title>
		<link>http://www.k-wave.org/forum/topic/graphing-data-monopole-source-in-the-homogenous-propagation-medium</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:29:14 +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/graphing-data-monopole-source-in-the-homogenous-propagation-medium" rel="self" type="application/rss+xml" />

		<item>
			<title>Anthony on "Graphing data ( Monopole source in the homogenous propagation medium )"</title>
			<link>http://www.k-wave.org/forum/topic/graphing-data-monopole-source-in-the-homogenous-propagation-medium#post-5184</link>
			<pubDate>Fri, 31 Jul 2015 08:15:48 +0000</pubDate>
			<dc:creator>Anthony</dc:creator>
			<guid isPermaLink="false">5184@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Caroline,&#60;/p&#62;
&#60;p&#62;The toolbox is probably not in your Matlab path.&#60;br /&#62;
If the toolbox is in 'C:\MATLAB\R2015a\toolbox\k-Wave Toolbox 1.1' for example.&#60;br /&#62;
Then do:&#60;br /&#62;
&#60;code&#62;addpath(genpath(&#38;#39;C:\MATLAB\R2015a\toolbox\k-Wave Toolbox 1.1&#38;#39;));&#60;/code&#62;&#60;br /&#62;
and try to run the code again.&#60;/p&#62;
&#60;p&#62;Anthony
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caroline lubert on "Graphing data ( Monopole source in the homogenous propagation medium )"</title>
			<link>http://www.k-wave.org/forum/topic/graphing-data-monopole-source-in-the-homogenous-propagation-medium#post-5182</link>
			<pubDate>Thu, 30 Jul 2015 17:46:10 +0000</pubDate>
			<dc:creator>caroline lubert</dc:creator>
			<guid isPermaLink="false">5182@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am brand new at this...and trying to run an example (Any example), but keep getting the same error: Undefined function 'makeGrid' for input arguments of type 'double'.&#60;br /&#62;
Where am I going wrong?&#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Graphing data ( Monopole source in the homogenous propagation medium )"</title>
			<link>http://www.k-wave.org/forum/topic/graphing-data-monopole-source-in-the-homogenous-propagation-medium#post-5161</link>
			<pubDate>Sun, 19 Jul 2015 13:21:06 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5161@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Suryakant,&#60;/p&#62;
&#60;p&#62;You could use something like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;figure;
plot(kgrid.t_array, sensor_data.p);
xlabel(&#38;#39;Time&#38;#39;);
ylabel(&#38;#39;Pressure&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;There are also lots of examples in the html help included with k-Wave. See section 1.3 of the k-Wave manual for how to access this in different versions of MATLAB.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Suryakant on "Graphing data ( Monopole source in the homogenous propagation medium )"</title>
			<link>http://www.k-wave.org/forum/topic/graphing-data-monopole-source-in-the-homogenous-propagation-medium#post-5152</link>
			<pubDate>Sat, 18 Jul 2015 09:37:22 +0000</pubDate>
			<dc:creator>Suryakant</dc:creator>
			<guid isPermaLink="false">5152@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi ,&#60;br /&#62;
We tried running following code ( given K-Wave documentation )  for simulating a monopole point source in a homogenous propogation medium we got the simulation running but we have not been able to get a graph between signal amplitude and time , also we were looking to plot a graph between signal amplitude and sensor pressure signal .&#60;br /&#62;
Would you please help us in plotting the same ? ( What should we add , to our code to get the desired plot )&#60;br /&#62;
% creating a computatuional grid&#60;br /&#62;
Nx = 128;&#60;br /&#62;
Ny = 128;&#60;br /&#62;
Nz = 128;&#60;br /&#62;
dx = .1*10^-3;&#60;br /&#62;
dy = .1*10^-3;&#60;br /&#62;
medium.sound_speed = 1500;&#60;br /&#62;
medium.alpha_coeff = .75;&#60;br /&#62;
medium.alpha_power = 1.5;&#60;br /&#62;
kgrid = makeGrid(Nx,dx,Ny,dy);&#60;br /&#62;
t_end = 6*10^-6;&#60;br /&#62;
kgrid.t_array = makeTime(kgrid,medium.sound_speed,[],t_end);&#60;br /&#62;
source.p_mask = zeros(Nx,Ny);&#60;br /&#62;
source.p_mask(end - Nx/4,Ny/2) =1;&#60;br /&#62;
source_freq = 0.25*10^6;&#60;br /&#62;
source_mag = 2;&#60;br /&#62;
source.p = source_mag*sin(2*pi*source_freq*kgrid.t_array);&#60;br /&#62;
source.p = filterTimeSeries(kgrid,medium,source.p);&#60;br /&#62;
sensor_radius = 4*10^-3;&#60;br /&#62;
num_sensor_points = 50;&#60;br /&#62;
sensor.mask = makeCartCircle(sensor_radius,num_sensor_points);&#60;br /&#62;
sensor.record = {'p','p_final'};&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid,medium,source,sensor);
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
