<?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: Saving every 10th frame in the forward simulation</title>
		<link>http://www.k-wave.org/forum/topic/saving-every-10th-frame-in-the-forward-simulation</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:08:01 +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/saving-every-10th-frame-in-the-forward-simulation" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Saving every 10th frame in the forward simulation"</title>
			<link>http://www.k-wave.org/forum/topic/saving-every-10th-frame-in-the-forward-simulation#post-8753</link>
			<pubDate>Wed, 17 May 2023 18:40:01 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8753@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Unfortunately, it has never been possible in k-Wave to record only every nth sample. The options you mention have never been valid inputs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>allim2 on "Saving every 10th frame in the forward simulation"</title>
			<link>http://www.k-wave.org/forum/topic/saving-every-10th-frame-in-the-forward-simulation#post-8750</link>
			<pubDate>Thu, 11 May 2023 16:23:31 +0000</pubDate>
			<dc:creator>allim2</dc:creator>
			<guid isPermaLink="false">8750@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I'm trying to save every 10th sample when running k-wave in the forward propagation using kspaceFirstOrder3D.&#60;/p&#62;
&#60;p&#62;I noticed record is no longer an input option and was usually paired as follows:&#60;/p&#62;
&#60;p&#62;record = 10;              % Record data every 10 time steps&#60;/p&#62;
&#60;p&#62;% Run the forward simulation&#60;br /&#62;
sensor_data = kspaceFirstOrder3D(kgrid, medium, source, [], sensor, 'Record', record, 'PlotSim', false);&#60;/p&#62;
&#60;p&#62;----------&#60;br /&#62;
alternativly sensor used to also be able to take an integer to record every nth frame with this also has been removed.&#60;/p&#62;
&#60;p&#62;sensor.record = ceil(t_end/(10*dt));  % set the number of recorded time points&#60;br /&#62;
sensor.record_start_index = 10;       % set the start index for the recorded time points&#60;br /&#62;
sensor_data = kspaceFirstOrder3D(kgrid, medium, source, sensor, input_args{:});&#60;/p&#62;
&#60;p&#62;------------&#60;/p&#62;
&#60;p&#62;I get errors for both of the above saying they are not valid inputs anymore.&#60;br /&#62;
version released notes show many functions and methods have been depreciated.&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/documentation/k-wave_release_notes.php&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/documentation/k-wave_release_notes.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Can you please provide a solution to do the above?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
