<?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: Steering a Linear array example</title>
		<link>http://www.k-wave.org/forum/topic/steering-a-linear-array-example</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:43:22 +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/steering-a-linear-array-example" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Steering a Linear array example"</title>
			<link>http://www.k-wave.org/forum/topic/steering-a-linear-array-example#post-5156</link>
			<pubDate>Sun, 19 Jul 2015 12:40:38 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5156@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Suryakant,&#60;/p&#62;
&#60;p&#62;Perhaps it's easiest to start with one of the examples that are included in the toolbox (e.g., &#60;a href=&#34;http://www.k-wave.org/documentation/example_us_beam_patterns.php&#34;&#62;Simulating Ultrasound Beam Patterns&#60;/a&#62;). First make sure you can run this, and then make the modifications you need? You can access the examples through the MATLAB help browser (click on &#34;Supplemental Software&#34; if you are using a recent version of MATLAB).&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Suryakant on "Steering a Linear array example"</title>
			<link>http://www.k-wave.org/forum/topic/steering-a-linear-array-example#post-5150</link>
			<pubDate>Fri, 17 Jul 2015 11:13:00 +0000</pubDate>
			<dc:creator>Suryakant</dc:creator>
			<guid isPermaLink="false">5150@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thank you for helping me. So, I tried to do what you said but I am now getting this error :-&#60;/p&#62;
&#60;p&#62;&#38;gt;&#38;gt; LinearArray&#60;br /&#62;
User defined classes not supported, returning grid structure...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Steering a Linear array example"</title>
			<link>http://www.k-wave.org/forum/topic/steering-a-linear-array-example#post-5149</link>
			<pubDate>Thu, 16 Jul 2015 12:50:01 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">5149@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Suryakant, &#60;/p&#62;
&#60;p&#62;You've defined &#60;code&#62;medium.sound_speed&#60;/code&#62; as a matrix, but perhaps when defining &#60;code&#62;tone_burst_offset&#60;/code&#62; you want to divide by a single value of sound speed ie. the value of the sound speed where the source is located?&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Suryakant on "Steering a Linear array example"</title>
			<link>http://www.k-wave.org/forum/topic/steering-a-linear-array-example#post-5147</link>
			<pubDate>Thu, 16 Jul 2015 12:09:26 +0000</pubDate>
			<dc:creator>Suryakant</dc:creator>
			<guid isPermaLink="false">5147@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;We have followed the example as it is described in the manual but we keep getting the following error -&#60;/p&#62;
&#60;p&#62;Error using /&#60;br /&#62;
Matrix dimension must agree&#60;/p&#62;
&#60;p&#62;tone_burst_offset = 40 = element_spacing*element_index*sin(steering_angle*pi/180)/(medium.sound_speed*dt);&#60;/p&#62;
&#60;p&#62;This is how we have defined the following matrices&#60;/p&#62;
&#60;p&#62;steering_angle = 30;&#60;br /&#62;
medium.sound_speed = 1500*ones(Nx,Ny);&#60;br /&#62;
medium.sound_speed(1:Nx/2,:) =1800;&#60;br /&#62;
dt = (.5*10^-6)^-1;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
