<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Modulo means</title>
	<atom:link href="http://embeddedgurus.com/stack-overflow/2008/11/modulo-means/feed/" rel="self" type="application/rss+xml" />
	<link>http://embeddedgurus.com/stack-overflow/2008/11/modulo-means/</link>
	<description>Thoughts on embedded systems by Nigel Jones</description>
	<lastBuildDate>Sun, 06 May 2012 10:34:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bruno Santiago</title>
		<link>http://embeddedgurus.com/stack-overflow/2008/11/modulo-means/comment-page-1/#comment-63</link>
		<dc:creator>Bruno Santiago</dc:creator>
		<pubDate>Tue, 25 Nov 2008 23:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gfcdev.org/test-stack/2008/11/21/modulo-means/#comment-63</guid>
		<description>If you want to average a small power of two samples it can be efficient.This way, you can average two by two and it´s a lot easier.Imagine you have sample A and sample B.If &#124; A - B &#124; &lt;= 8 (or 180 degrees), then it´s plain ( A + B ) / 2If &#124; A - B &#124; &gt; 8 and A + B &gt;= 16 (or 360 degrees), then it&#039;s ( A + B - 16 ) / 2If &#124; A - B &#124; &gt; 8 and A + B &lt; 16, then it&#039;s 16 + [ ( A + B - 16 ) / 2 ]</description>
		<content:encoded><![CDATA[<p>If you want to average a small power of two samples it can be efficient.This way, you can average two by two and it´s a lot easier.Imagine you have sample A and sample B.If | A &#8211; B | &lt;= 8 (or 180 degrees), then it´s plain ( A + B ) / 2If | A &#8211; B | &gt; 8 and A + B &gt;= 16 (or 360 degrees), then it&#39;s ( A + B &#8211; 16 ) / 2If | A &#8211; B | &gt; 8 and A + B &lt; 16, then it&#39;s 16 + [ ( A + B - 16 ) / 2 ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Santiago</title>
		<link>http://embeddedgurus.com/stack-overflow/2008/11/modulo-means/comment-page-1/#comment-62</link>
		<dc:creator>Bruno Santiago</dc:creator>
		<pubDate>Tue, 25 Nov 2008 15:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gfcdev.org/test-stack/2008/11/21/modulo-means/#comment-62</guid>
		<description>Victorh:The point is he is measuring phase. If the phase difference is greater than 359 degrees, it is 0 again.Nigel:Why not average the inputs of the phase comparator?If it´s not possible, you can think you´re working with polar cordinates and measuring only the angle. Choose an arbritary radius and then convert to cartesian cordinates. Then average x and y. Then convert back to polar coordinates and take angle.Thus, it´s probably not efficient at all.</description>
		<content:encoded><![CDATA[<p>Victorh:The point is he is measuring phase. If the phase difference is greater than 359 degrees, it is 0 again.Nigel:Why not average the inputs of the phase comparator?If it´s not possible, you can think you´re working with polar cordinates and measuring only the angle. Choose an arbritary radius and then convert to cartesian cordinates. Then average x and y. Then convert back to polar coordinates and take angle.Thus, it´s probably not efficient at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: victorh</title>
		<link>http://embeddedgurus.com/stack-overflow/2008/11/modulo-means/comment-page-1/#comment-61</link>
		<dc:creator>victorh</dc:creator>
		<pubDate>Mon, 24 Nov 2008 16:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gfcdev.org/test-stack/2008/11/21/modulo-means/#comment-61</guid>
		<description>To be honest, I completely missed your point. I can&#039;t even understand what your problem is. I got loss in:&lt;i&gt;Indeed we can do this &lt;b&gt;here&lt;/b&gt;, provided that we don&#039;t flip back and fore across the zero line.&lt;/i&gt;&quot;here&quot; where?In the past, I have enjoyed your posts. I even applied on my projects some of the knowledge you put in them. So I believe this post also includes some clever insight which, unfortunately, I missed to understand.Maybe you could rephrase it? Thanks :)</description>
		<content:encoded><![CDATA[<p>To be honest, I completely missed your point. I can&#8217;t even understand what your problem is. I got loss in:<i>Indeed we can do this <b>here</b>, provided that we don&#8217;t flip back and fore across the zero line.</i>&#8220;here&#8221; where?In the past, I have enjoyed your posts. I even applied on my projects some of the knowledge you put in them. So I believe this post also includes some clever insight which, unfortunately, I missed to understand.Maybe you could rephrase it? Thanks <img src='http://embeddedgurus.com/stack-overflow/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

