<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>jagged tooth v2.1 &#187; discrete</title>
	<atom:link href="http://incisors.wordpress.com/tag/discrete/feed/" rel="self" type="application/rss+xml" />
	<link>http://incisors.wordpress.com</link>
	<description>Blog for AP 186</description>
	<lastBuildDate>Mon, 06 Oct 2008 13:54:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='incisors.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ddf399ffdf73266657059c785470b710?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>jagged tooth v2.1 &#187; discrete</title>
		<link>http://incisors.wordpress.com</link>
	</image>
			<item>
		<title>Activity 5: Physics Measurements from Discrete Fourier Transform</title>
		<link>http://incisors.wordpress.com/2008/07/03/activity-5-physics-measurements-from-discrete-fourier-transform/</link>
		<comments>http://incisors.wordpress.com/2008/07/03/activity-5-physics-measurements-from-discrete-fourier-transform/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 01:24:54 +0000</pubDate>
		<dc:creator>jptugaff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[discrete]]></category>
		<category><![CDATA[fourier transform]]></category>

		<guid isPermaLink="false">http://incisors.wordpress.com/?p=40</guid>
		<description><![CDATA[Discrete Fourier Transform is a mathematical construct where you determine the frequency component of a signal, very much like breaking down white light (signal) to its frequency components (colors). Fourier transform can be done numerically using



-oOo-
Performing FFT (code provided by Dr. Soriano)
T = 2;
N = 256;
dt = T/256;
t = [0:dt:(N-1)*dt];
f = 5;
y = sin(2*%pi*f*t);
f1 = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=incisors.wordpress.com&blog=3941311&post=40&subd=incisors&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:left;">Discrete Fourier Transform is a mathematical construct where you determine the frequency component of a signal, very much like breaking down white light (signal) to its frequency components (colors). Fourier transform can be done numerically using</p>
<p style="text-align:left;"><a href="http://en.wikipedia.org/wiki/Discrete_Fourier_transform"></a></p>
<p style="text-align:center;"><img class="size-medium wp-image-44 aligncenter" src="http://incisors.files.wordpress.com/2008/07/5a1bdb3dc1e15ef35045138624ecd6d3.png?w=300&#038;h=44" alt="" width="300" height="44" /></p>
<p style="text-align:left;">
<p style="text-align:center;">-oOo-</p>
<p>Performing FFT (code provided by Dr. Soriano)</p>
<p>T = 2;<br />
N = 256;<br />
dt = T/256;<br />
t = [0:dt:(N-1)*dt];<br />
f = 5;<br />
y = sin(2*%pi*f*t);<br />
f1 = scf(1); plot(t,y);</p>
<p>FY = fft(y);<br />
F = 1/(2*dt);<br />
df = 2*F/256;<br />
f = [-(df*(N/2)):df:df*(N/2 -1)];</p>
<p>f2 = scf(2); plot(f, fftshift(abs(FY)));</p>
<p style="text-align:center;">-oOo-</p>
<p style="text-align:left;">The method of getting Fourier transform of images is somewhat similar to the process of getting the FT of temporal signals. In the case of images, we use the pixels as our discrete time, and we now perform spatial FT. Two dimensional FT can be done using</p>
<p style="text-align:left;">fft2=fft(fft(im).&#8217;).&#8217;</p>
<p style="text-align:left;">The algorithm above as mention in the <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/fft2.html&amp;http://www.google.com.ph/search?q=fft2+algorithm&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a">Mathworks</a> (Matlab) perform 1d FT along each column of im and them perform FT along the row of the result.</p>
<p style="text-align:center;"><a href="http://incisors.files.wordpress.com/2008/07/sine.gif"><img class="size-medium wp-image-46 aligncenter" src="http://incisors.files.wordpress.com/2008/07/sine.gif?w=300&#038;h=226" alt="" width="300" height="226" /></a></p>
<p style="text-align:center;">Sine wave (f=5, T=2)</p>
<p style="text-align:left;">We investigate the effect of varying the number of samples N with the Fourier Transfrom. From the plot below, we can see that by increasing the number of N, we widen the domain of our FT.</p>
<p style="text-align:center;"><a href="http://incisors.files.wordpress.com/2008/07/activity5b.gif"><img class="size-medium wp-image-41 aligncenter" src="http://incisors.files.wordpress.com/2008/07/activity5b.gif?w=300&#038;h=199" alt="" width="300" height="199" /></a></p>
<p><a href="http://incisors.files.wordpress.com/2008/07/activity5c.gif"><br />
</a></p>
<p>On the other hand, by having the total time fixed and increasing N (and effectively decreasing dt), we find that there is not much difference on the peak frequency, and the amplitude is half the value of N. This is because we are adding more signals components as compared to with lower N.</p>
<p><a href="http://incisors.files.wordpress.com/2008/07/changingn.gif"><img class="alignnone size-medium wp-image-45" src="http://incisors.files.wordpress.com/2008/07/changingn.gif?w=300&#038;h=226" alt="" width="300" height="226" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/incisors.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/incisors.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/incisors.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/incisors.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/incisors.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/incisors.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/incisors.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/incisors.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/incisors.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/incisors.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/incisors.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/incisors.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=incisors.wordpress.com&blog=3941311&post=40&subd=incisors&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://incisors.wordpress.com/2008/07/03/activity-5-physics-measurements-from-discrete-fourier-transform/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7180bfbb1df0d02507e75d02e265e0fa?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">jptugaff</media:title>
		</media:content>

		<media:content url="http://incisors.files.wordpress.com/2008/07/5a1bdb3dc1e15ef35045138624ecd6d3.png?w=300" medium="image" />

		<media:content url="http://incisors.files.wordpress.com/2008/07/sine.gif?w=300" medium="image" />

		<media:content url="http://incisors.files.wordpress.com/2008/07/activity5b.gif?w=300" medium="image" />

		<media:content url="http://incisors.files.wordpress.com/2008/07/changingn.gif?w=300" medium="image" />
	</item>
	</channel>
</rss>