<?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: Circles in 3-D</title>
		<link>http://www.k-wave.org/forum/topic/circles-in-3-d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 12:43:25 +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/circles-in-3-d" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Circles in 3-D"</title>
			<link>http://www.k-wave.org/forum/topic/circles-in-3-d#post-5800</link>
			<pubDate>Wed, 04 Jan 2017 14:14:19 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5800@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi johnhop,&#60;/p&#62;
&#60;p&#62;One option is to create both of the circles in 2D using &#60;code&#62;makeCartCircle&#60;/code&#62;. Next, create two separate 2D &#60;code&#62;kgrid&#60;/code&#62; objects with the correct dimensions (one Nx/Ny, one Nx/Nz). Then convert both Cartesian circles to binary matrices using &#60;code&#62;cart2grid&#60;/code&#62;. Finally, you can place these 2D matrices into a larger 3D matrix in the correct plane and orientation. &#60;/p&#62;
&#60;p&#62;Another option is to use &#60;code&#62;makeCartCircle&#60;/code&#62; to create both of the circles, create a new matrix with three rows and the total number of points, and then copy the rows to x/y or x/z as appropriate.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>johnhop on "Circles in 3-D"</title>
			<link>http://www.k-wave.org/forum/topic/circles-in-3-d#post-5791</link>
			<pubDate>Wed, 21 Dec 2016 22:49:05 +0000</pubDate>
			<dc:creator>johnhop</dc:creator>
			<guid isPermaLink="false">5791@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello. I am fairly new to MATLAB and I am stuck at creating 2 circles with blanks in between the dots(dots will be sensor points): one in x-y and the other in x-z. For x-y I know I can use makeCartCircle. However I cannot come up with anything for the x-z one.&#60;/p&#62;
&#60;p&#62;x-y circle:&#60;br /&#62;
5 -&#38;gt; radius&#60;br /&#62;
40 -&#38;gt; number of points&#60;br /&#62;
[0, 0, 0] -&#38;gt; center point&#60;br /&#62;
2*pi -&#38;gt; arc angle&#60;/p&#62;
&#60;p&#62;x-z circle:&#60;br /&#62;
5 -&#38;gt; radius&#60;br /&#62;
40 -&#38;gt; number of points&#60;br /&#62;
[0, 0, 0] -&#38;gt; center point&#60;br /&#62;
-pi/2, pi/2 -&#38;gt; arc angle&#60;/p&#62;
&#60;p&#62;Follow-up question: Would there be any problems with working this cartesian result into kgrid?&#60;br /&#62;
Thank you in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
