<?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: First get through example!</title>
		<link>http://www.k-wave.org/forum/topic/first-get-through-example</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:24:31 +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/first-get-through-example" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "First get through example!"</title>
			<link>http://www.k-wave.org/forum/topic/first-get-through-example#post-4677</link>
			<pubDate>Mon, 18 Aug 2014 17:13:15 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4677@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Farhad,&#60;/p&#62;
&#60;p&#62;It's certainly possible to simulate diagnostic US images with k-Wave. However, the full-wave nature of the simulations means the computational expense is reasonably high. You can get started by looking at the &#34;Diagnostic Ultrasound Simulation&#34; examples included in the html help with the toolbox.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>f4rhad on "First get through example!"</title>
			<link>http://www.k-wave.org/forum/topic/first-get-through-example#post-4650</link>
			<pubDate>Sun, 20 Jul 2014 06:20:41 +0000</pubDate>
			<dc:creator>f4rhad</dc:creator>
			<guid isPermaLink="false">4650@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;This is what I want to do:&#60;br /&#62;
&#60;a href=&#34;http://8pic.ir/images/uo48la69a8k8cuxlcn27.jpg&#34; rel=&#34;nofollow&#34;&#62;http://8pic.ir/images/uo48la69a8k8cuxlcn27.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but I do not want to add gaussian noise this way!&#60;br /&#62;
I want to add the normal noise of ultrasound transducer(speckle) with simulation of sonography.&#60;/p&#62;
&#60;p&#62;-BR&#60;br /&#62;
Farhad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>f4rhad on "First get through example!"</title>
			<link>http://www.k-wave.org/forum/topic/first-get-through-example#post-4649</link>
			<pubDate>Sun, 20 Jul 2014 05:17:16 +0000</pubDate>
			<dc:creator>f4rhad</dc:creator>
			<guid isPermaLink="false">4649@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Brad,&#60;br /&#62;
Hi&#60;br /&#62;
That helped a lot I had a dt.m in an obsolete folder of snake algorithm. I removed it from the Path and it`s working awesome .&#60;/p&#62;
&#60;p&#62;may I add a question related why i started using k-wave?&#60;br /&#62;
-I wanted to add speckle noise to a synthetic image. I got desperate doing that with Field II! Is it possible with K-wave?&#60;/p&#62;
&#60;p&#62;Sincerely,&#60;br /&#62;
Farhad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "First get through example!"</title>
			<link>http://www.k-wave.org/forum/topic/first-get-through-example#post-4646</link>
			<pubDate>Thu, 17 Jul 2014 13:08:46 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4646@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi f4rhad,&#60;/p&#62;
&#60;p&#62;Do you have a user function somewhere called &#60;code&#62;dt&#60;/code&#62;? It seems there is an issue with MATLAB deciding about the scope of the variable &#60;code&#62;dt&#60;/code&#62; used in the code and your function with the same name. You could correct this by:&#60;br /&#62;
(1) declaring &#60;code&#62;dt = 0&#60;/code&#62; at the beginning of &#60;code&#62;kspaceFirstOrder2D&#60;/code&#62;&#60;br /&#62;
(2) replacing &#60;code&#62;dt&#60;/code&#62; in &#60;code&#62;kspaceFirstOrder2D&#60;/code&#62; with &#60;code&#62;kgrid.dt&#60;/code&#62;&#60;br /&#62;
(3) renaming your &#60;code&#62;dt&#60;/code&#62; function or removing it from the path.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>f4rhad on "First get through example!"</title>
			<link>http://www.k-wave.org/forum/topic/first-get-through-example#post-4644</link>
			<pubDate>Wed, 16 Jul 2014 18:32:52 +0000</pubDate>
			<dc:creator>f4rhad</dc:creator>
			<guid isPermaLink="false">4644@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I tried to simulate the first example and I did not touch anything else to ruin them,&#60;br /&#62;
but these errors come up usually&#60;/p&#62;
&#60;p&#62;Error using dt (line 13)&#60;br /&#62;
Not enough input arguments.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder2D (line 484)&#60;br /&#62;
disp(['  dt: ' scaleSI(dt) 's, t_end: ' scaleSI(t_array(end)) 's, time steps: ' num2str(length(t_array))]);&#60;/p&#62;
&#60;p&#62;I guess thats because in main script this line is used without arguments while it needs an input like B!&#60;br /&#62;
-----------------&#60;br /&#62;
function D = dt(B)&#60;br /&#62;
-----------------&#60;br /&#62;
line 484: disp(['  dt: ' scaleSI(dt) 's, t_end: ' scaleSI(t_array(end)) 's, time steps: ' num2str(length(t_array))]);
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
