<?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: Arbitrary Analysis Time Period</title>
		<link>http://www.k-wave.org/forum/topic/arbitrary-analysis-time-period</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:39: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/arbitrary-analysis-time-period" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Arbitrary Analysis Time Period"</title>
			<link>http://www.k-wave.org/forum/topic/arbitrary-analysis-time-period#post-633</link>
			<pubDate>Tue, 24 Jul 2012 02:21:16 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">633@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ian,&#60;/p&#62;
&#60;p&#62;There are a couple of possibilities. First, you can set &#60;code&#62;kgrid.t_array&#60;/code&#62; manually after calling &#60;code&#62;makeGrid&#60;/code&#62; but before running the simulation. For example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;dt = 1e-9;
t_end = 1e-6;
kgrid.t_array = 0:dt:t_end;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Second, you can call the function &#60;a href=&#34;http://www.k-wave.org/documentation/makeTime.php&#34;&#62;makeTime&#60;/a&#62; to create the time array for you. This has parameter inputs to set the CFL number and the end time. For example:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;kgrid.t_array = makeTime(kgrid, medium.sound_speed, cfl, t_end)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The other parameters, &#60;code&#62;kgrid.Nt&#60;/code&#62; and &#60;code&#62;kgrid.dt&#60;/code&#62; are automatically derived from &#60;code&#62;kgrid.t_array&#60;/code&#62; (they shouldn't be modified directly).&#60;/p&#62;
&#60;p&#62;Good luck with your simulations,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ian_whitehouse on "Arbitrary Analysis Time Period"</title>
			<link>http://www.k-wave.org/forum/topic/arbitrary-analysis-time-period#post-631</link>
			<pubDate>Sun, 22 Jul 2012 10:14:09 +0000</pubDate>
			<dc:creator>ian_whitehouse</dc:creator>
			<guid isPermaLink="false">631@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;How do I get a kspaceFirstOrder2D analysis to operate over an arbitrarily long time period. I see that kgrid has two properties t_array, Nt and dt but how do I set these properties so that the analysis proceeds over a longer time period than provided by default?&#60;/p&#62;
&#60;p&#62;Thanks for your help and a great/interesting toolbox!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
