<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Harrde</id>
	<title>Class Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Harrde"/>
	<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php/Special:Contributions/Harrde"/>
	<updated>2026-04-05T12:00:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Adaptive_Filter_Application_by_harrde&amp;diff=4351</id>
		<title>Adaptive Filter Application by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Adaptive_Filter_Application_by_harrde&amp;diff=4351"/>
		<updated>2007-12-13T18:21:57Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Come up with your own application and do a simulation in MATLAB.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
Suppose that you want to record bird calls so that you can listen to them later and learn to identify birds only by their call. The problem is that you live by a huge freeway and all the noise from the cars and trucks makes it hard for you to get a good recording. &lt;br /&gt;
The MATLAB code below can take a recorded bird call and remove the noise. This lets you get good bird call recordings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% Bird call recording simulation where we filter out noise&lt;br /&gt;
clear all&lt;br /&gt;
&lt;br /&gt;
% This is the bird call that we want to record.&lt;br /&gt;
load chirp;&lt;br /&gt;
s = y&#039;;&lt;br /&gt;
Ls = length(y);&lt;br /&gt;
&lt;br /&gt;
% Creating noise&lt;br /&gt;
T = 1/Fs;&lt;br /&gt;
t = 0:T:3;&lt;br /&gt;
noise = sin(2*pi*100*t)+cos(2*pi*200*t);&lt;br /&gt;
n = noise;&lt;br /&gt;
&lt;br /&gt;
bn = 3*[0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 1 .5]; %This amplifies noise&lt;br /&gt;
an = [1];&lt;br /&gt;
nf = filter(bn,an,n); &lt;br /&gt;
&lt;br /&gt;
y = s(1:length(s)) + n(1:length(s)); %Here is the noise plus bird call&lt;br /&gt;
&lt;br /&gt;
wavplay(y,Fs,&#039;sync&#039;) %Here&#039;s what the bird call plus noise sounds like&lt;br /&gt;
&lt;br /&gt;
N = 20;         % Length of adaptive filter&lt;br /&gt;
&lt;br /&gt;
% LMS algorithm for adaptive noise cancellation&lt;br /&gt;
h = zeros(N,1);&lt;br /&gt;
mu = 1/(10*N*var(n));&lt;br /&gt;
&lt;br /&gt;
for k=N:Ls&lt;br /&gt;
	xk = n(k:-1:(k-N+1));&lt;br /&gt;
	nhat(k) = h&#039;*xk&#039;;&lt;br /&gt;
	e(k) = - y(k) + nhat(k);&lt;br /&gt;
	h = h - mu*e(k)*xk&#039;;  &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% Here is the cleaned signal with beautiful bird call;&lt;br /&gt;
wavplay(e,Fs)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run this code on a computer with speakers or headphones. First you will hear the original recorded bird call with all the noise. Then you will hear the bird call after the noise has been filtered out by an adaptive filter.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4350</id>
		<title>User:Harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4350"/>
		<updated>2007-12-13T06:58:14Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Homework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Signals and systems|Back to Signals and Systems]]&lt;br /&gt;
=Denver Harris&#039; Page=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interests==&lt;br /&gt;
I have always found too many things in life to occupy my time. I want to know what it&#039;s like to run out of things to do and therefore be bored. &lt;br /&gt;
&lt;br /&gt;
It seems there is never enough time to specialize in anything. &amp;quot;Jack of all trades, master of none&amp;quot; seems to be a description of me.&lt;br /&gt;
&lt;br /&gt;
==Info==&lt;br /&gt;
*Senior&lt;br /&gt;
*Electrical Engineering&lt;br /&gt;
*Married&lt;br /&gt;
*harrde@gmail.com&lt;br /&gt;
&lt;br /&gt;
==Homework==&lt;br /&gt;
H4 - [[FT|Fourier Transforms]]&lt;br /&gt;
&lt;br /&gt;
H8 - [[Samping by harrde|Samping]]&lt;br /&gt;
&lt;br /&gt;
H11 - [[Alias|Aliasing]]&lt;br /&gt;
&lt;br /&gt;
H12 - [[DFT by harrde|DFT]]&lt;br /&gt;
&lt;br /&gt;
H13 - [[DFT Exploration by harrde|DFT Exploration]]&lt;br /&gt;
&lt;br /&gt;
H14 - [[Wiki Errors by harrde|Wiki Errors]]&lt;br /&gt;
&lt;br /&gt;
H15 - [[Oversample and Predistort by harrde|Oversample and Predistort]]&lt;br /&gt;
&lt;br /&gt;
H16 - [[Adaptive Filter Application by harrde|Adaptive Filter Application]]&lt;br /&gt;
&lt;br /&gt;
H17 - [[Sigma Delta A/D Converter by harrde|Sigma Delta A/D Converter]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4349</id>
		<title>Oversample and Predistort by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4349"/>
		<updated>2007-12-07T23:07:49Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Make a MATLAB script to do four times oversampling and filter so as to eliminate as much as possible the effect of the D/A converter that follows the interpolating filter.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
MATLAB script and results:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 10;             % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
N = 10;             % Number of sampling points&lt;br /&gt;
t=0:T:(N-1)*T;     &lt;br /&gt;
x=sin(2*pi*t)+cos(2*pi*2*t);   % Signal that is sampled&lt;br /&gt;
t_original = 0:.01:1;&lt;br /&gt;
x_original = sin(2*pi*t_original)+cos(2*pi*2*t_original);&lt;br /&gt;
&lt;br /&gt;
OSample = 4;                            % How many times to oversampling&lt;br /&gt;
&lt;br /&gt;
figure(1);&lt;br /&gt;
clf&lt;br /&gt;
plot(t_original,x_original,&#039;r&#039;);         %Original signal sampled&lt;br /&gt;
hold on&lt;br /&gt;
stem(t,x)&lt;br /&gt;
xlabel(&#039;Time(s)&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
title(&#039;Orignal Data and Sampled Points&#039;)&lt;br /&gt;
hold&lt;br /&gt;
legend(&#039;Original Data&#039;,&#039;Sampled Points&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2);&lt;br /&gt;
N1 = N*OSample;&lt;br /&gt;
X = fft(x);&lt;br /&gt;
X1 = (N1+N)/N*[X(1:N/2),zeros(1,N1),X(N/2+1:N)]; %This is the interpolation transfer function&lt;br /&gt;
x1 = ifft(X1);&lt;br /&gt;
t1=0:N/(N+N1)*T:(N-1/(N1+N))*T;&lt;br /&gt;
plot(t1,x1,&#039;bo&#039;)                    %Sampled data with interpolation points&lt;br /&gt;
title(&#039;Sampled Data After Interpolation&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;Time(s)&#039;);&lt;br /&gt;
&lt;br /&gt;
%Now we will work on predistortion filter&lt;br /&gt;
f = linspace(-1/T,1/T,length(X1));&lt;br /&gt;
P = sin(pi*f*T)./(pi*f);                %Transfer function of A/D distortion&lt;br /&gt;
figure(3)&lt;br /&gt;
plot(f,P)                       % A/D distortion transfer function&lt;br /&gt;
title(&#039;A/D Distortion Transfer Function&#039;);&lt;br /&gt;
ylabel(&#039;P(f)&#039;);&lt;br /&gt;
xlabel(&#039;f(Hz)&#039;);&lt;br /&gt;
&lt;br /&gt;
Out_unfiltered = X1.*P;         &lt;br /&gt;
out_unfiltered = ifft(Out_unfiltered);&lt;br /&gt;
&lt;br /&gt;
Out = X1.*(1./P).*P;            &lt;br /&gt;
out = ifft(Out);&lt;br /&gt;
&lt;br /&gt;
figure(4)&lt;br /&gt;
clf&lt;br /&gt;
plot(f./10,real(out_unfiltered))      %This is the output with out filter/predistortion&lt;br /&gt;
title(&#039;Unfiltered Output&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;time(s)&#039;);&lt;br /&gt;
&lt;br /&gt;
figure(5)&lt;br /&gt;
clf&lt;br /&gt;
plot(f./10,real(out))                 %This is the output with the filter&lt;br /&gt;
title(&#039;Filtered/Predistorted Output&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;time(s)&#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DH15_1.jpg]]&lt;br /&gt;
[[Image:DH15_2.jpg]]&lt;br /&gt;
[[Image:DH15_3.jpg]]&lt;br /&gt;
[[Image:DH15_4.jpg]]&lt;br /&gt;
[[Image:DH15_5.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Explanation===&lt;br /&gt;
The five graphs show a signal at important times as it passes through this system; which is similar to a signal being stored on a CD and then played back. The first graph shows the original signal and the data gathered from sampling. The next graph shows the sampled data plus the interpolation points found through 4 times oversampling. The third graph is a depiction of the transfer function of the D/A converter. This transfer function distorts the output signal as seen in the fourth graph. This is why we pass the signal through a digital filter to predistort it so that at the output of our system it will not be distorted. The filter&#039;s transfer function is simply the reciprocal of the D/A converter&#039;s transfer function.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_5.jpg&amp;diff=4348</id>
		<title>File:DH15 5.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_5.jpg&amp;diff=4348"/>
		<updated>2007-12-07T22:50:09Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_4.jpg&amp;diff=4347</id>
		<title>File:DH15 4.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_4.jpg&amp;diff=4347"/>
		<updated>2007-12-07T22:49:59Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_3.jpg&amp;diff=4346</id>
		<title>File:DH15 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_3.jpg&amp;diff=4346"/>
		<updated>2007-12-07T22:49:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_2.jpg&amp;diff=4345</id>
		<title>File:DH15 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_2.jpg&amp;diff=4345"/>
		<updated>2007-12-07T22:49:33Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_1.jpg&amp;diff=4344</id>
		<title>File:DH15 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH15_1.jpg&amp;diff=4344"/>
		<updated>2007-12-07T22:49:23Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4343</id>
		<title>Oversample and Predistort by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4343"/>
		<updated>2007-12-07T22:46:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Make a MATLAB script to do four times oversampling and filter so as to eliminate as much as possible the effect of the D/A converter that follows the interpolating filter.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
MATLAB script and results:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 10;             % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
N = 10;             % Number of sampling points&lt;br /&gt;
t=0:T:(N-1)*T;     &lt;br /&gt;
x=sin(2*pi*t)+cos(2*pi*2*t);   % Signal that is sampled&lt;br /&gt;
t_original = 0:.01:1;&lt;br /&gt;
x_original = sin(2*pi*t_original)+cos(2*pi*2*t_original);&lt;br /&gt;
&lt;br /&gt;
OSample = 4;                            % How many times to oversampling&lt;br /&gt;
&lt;br /&gt;
figure(1);&lt;br /&gt;
clf&lt;br /&gt;
plot(t_original,x_original,&#039;r&#039;);         %Original signal sampled&lt;br /&gt;
hold on&lt;br /&gt;
stem(t,x)&lt;br /&gt;
xlabel(&#039;Time(s)&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
title(&#039;Orignal Data and Sampled Points&#039;)&lt;br /&gt;
hold&lt;br /&gt;
legend(&#039;Original Data&#039;,&#039;Sampled Points&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2);&lt;br /&gt;
N1 = N*OSample;&lt;br /&gt;
X = fft(x);&lt;br /&gt;
X1 = (N1+N)/N*[X(1:N/2),zeros(1,N1),X(N/2+1:N)]; %This is the interpolation transfer function&lt;br /&gt;
x1 = ifft(X1);&lt;br /&gt;
t1=0:N/(N+N1)*T:(N-1/(N1+N))*T;&lt;br /&gt;
plot(t1,x1,&#039;bo&#039;)                    %Sampled data with interpolation points&lt;br /&gt;
title(&#039;Sampled Data After Interpolation&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;Time(s)&#039;);&lt;br /&gt;
&lt;br /&gt;
%Now we will work on predistortion filter&lt;br /&gt;
f = linspace(-1/T,1/T,length(X1));&lt;br /&gt;
P = sin(pi*f*T)./(pi*f);                %Transfer function of A/D distortion&lt;br /&gt;
figure(3)&lt;br /&gt;
plot(f,P)                       % A/D distortion transfer function&lt;br /&gt;
title(&#039;A/D Distortion Transfer Function&#039;);&lt;br /&gt;
ylabel(&#039;P(f)&#039;);&lt;br /&gt;
xlabel(&#039;f(Hz)&#039;);&lt;br /&gt;
&lt;br /&gt;
Out_unfiltered = X1.*P;         &lt;br /&gt;
out_unfiltered = ifft(Out_unfiltered);&lt;br /&gt;
&lt;br /&gt;
Out = X1.*(1./P).*P;            &lt;br /&gt;
out = ifft(Out);&lt;br /&gt;
&lt;br /&gt;
figure(4)&lt;br /&gt;
clf&lt;br /&gt;
plot(f./10,real(out_unfiltered))      %This is the output with out filter/predistortion&lt;br /&gt;
title(&#039;Unfiltered Output&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;time(s)&#039;);&lt;br /&gt;
&lt;br /&gt;
figure(5)&lt;br /&gt;
clf&lt;br /&gt;
plot(f./10,real(out))                 %This is the output with the filter&lt;br /&gt;
title(&#039;Filtered/Predistorted Output&#039;);&lt;br /&gt;
ylabel(&#039;x(t)&#039;);&lt;br /&gt;
xlabel(&#039;time(s)&#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DH15_1.jpg]]&lt;br /&gt;
[[Image:DH15_2.jpg]]&lt;br /&gt;
[[Image:DH15_3.jpg]]&lt;br /&gt;
[[Image:DH15_4.jpg]]&lt;br /&gt;
[[Image:DH15_5.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Explanation===&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Sigma_Delta_A/D_Converter_by_harrde&amp;diff=4342</id>
		<title>Sigma Delta A/D Converter by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Sigma_Delta_A/D_Converter_by_harrde&amp;diff=4342"/>
		<updated>2007-12-07T07:42:09Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page  ==Problem Statement== In MATLAB simulate a Sigma Delta A/D Converter.  ==Solution== MATLAB script and results:&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
In MATLAB simulate a Sigma Delta A/D Converter.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
MATLAB script and results:&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Adaptive_Filter_Application_by_harrde&amp;diff=4341</id>
		<title>Adaptive Filter Application by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Adaptive_Filter_Application_by_harrde&amp;diff=4341"/>
		<updated>2007-12-07T07:41:02Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page  ==Problem Statement== Come up with your own application and do a simulation in MATLAB.  ==Solution==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Come up with your own application and do a simulation in MATLAB.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4340</id>
		<title>Oversample and Predistort by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Oversample_and_Predistort_by_harrde&amp;diff=4340"/>
		<updated>2007-12-07T07:40:26Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page  ==Problem Statement== Make a MATLAB script to do four times oversampling and filter so as to eliminate as much as possible the effect of the D/A converter ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Make a MATLAB script to do four times oversampling and filter so as to eliminate as much as possible the effect of the D/A converter that follows the interpolating filter.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
MATLAB script and results:&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4339</id>
		<title>User:Harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4339"/>
		<updated>2007-12-07T07:33:23Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Homework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Signals and systems|Back to Signals and Systems]]&lt;br /&gt;
=Denver Harris&#039; Page=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interests==&lt;br /&gt;
I have always found too many things in life to occupy my time. I want to know what it&#039;s like to run out of things to do and therefore be bored. &lt;br /&gt;
&lt;br /&gt;
It seems there is never enough time to specialize in anything. &amp;quot;Jack of all trades, master of none&amp;quot; seems to be a description of me.&lt;br /&gt;
&lt;br /&gt;
==Info==&lt;br /&gt;
*Senior&lt;br /&gt;
*Electrical Engineering&lt;br /&gt;
*Married&lt;br /&gt;
*harrde@gmail.com&lt;br /&gt;
&lt;br /&gt;
==Homework==&lt;br /&gt;
H5 - [[FT|Fourier Transforms]]&lt;br /&gt;
&lt;br /&gt;
H8 - [[Samping by harrde|Samping]]&lt;br /&gt;
&lt;br /&gt;
H11 - [[Alias|Aliasing]]&lt;br /&gt;
&lt;br /&gt;
H12 - [[DFT by harrde|DFT]]&lt;br /&gt;
&lt;br /&gt;
H13 - [[DFT Exploration by harrde|DFT Exploration]]&lt;br /&gt;
&lt;br /&gt;
H14 - [[Wiki Errors by harrde|Wiki Errors]]&lt;br /&gt;
&lt;br /&gt;
H15 - [[Oversample and Predistort by harrde|Oversample and Predistort]]&lt;br /&gt;
&lt;br /&gt;
H16 - [[Adaptive Filter Application by harrde|Adaptive Filter Application]]&lt;br /&gt;
&lt;br /&gt;
H17 - [[Sigma Delta A/D Converter by harrde|Sigma Delta A/D Converter]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_3.jpg&amp;diff=4338</id>
		<title>File:DH12 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_3.jpg&amp;diff=4338"/>
		<updated>2007-12-07T07:21:05Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_2.jpg&amp;diff=4337</id>
		<title>File:DH12 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_2.jpg&amp;diff=4337"/>
		<updated>2007-12-07T07:20:56Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_1.jpg&amp;diff=4336</id>
		<title>File:DH12 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH12_1.jpg&amp;diff=4336"/>
		<updated>2007-12-07T07:20:44Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4335</id>
		<title>DFT by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4335"/>
		<updated>2007-12-07T07:19:20Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Use MATLAB, OCTAVE, or SCILAB to show how the DFT is related to the actual Fourier Transform.&lt;br /&gt;
&lt;br /&gt;
===Solution===&lt;br /&gt;
&lt;br /&gt;
MATLAB code and results:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 5;              % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
t = 0:.01:5;&lt;br /&gt;
N2 = 100;          % Number of sampling points&lt;br /&gt;
N3 = 30;&lt;br /&gt;
t2 = 0:T:N2*T;&lt;br /&gt;
t3 = 0:T:N3*T;&lt;br /&gt;
&lt;br /&gt;
x = sin(2*pi*t);    % Signal that is sampled&lt;br /&gt;
x2 = sin(2*pi*t2);&lt;br /&gt;
&lt;br /&gt;
X2 = fft(x2);         % DFT of signal&lt;br /&gt;
&lt;br /&gt;
figure(1)                    %Original signal with sampling&lt;br /&gt;
plot(t(1:300), x(1:300), &#039;r&#039;)&lt;br /&gt;
hold on&lt;br /&gt;
stem(t2(1:15), x2(1:15));&lt;br /&gt;
hold off;&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Input Signal With Sampling&#039;)&lt;br /&gt;
legend(&#039;Original signal&#039;, &#039;Sampled signal&#039;);&lt;br /&gt;
&lt;br /&gt;
figure(2)                    %DFT&lt;br /&gt;
plot(t2/(N2*T*T),abs(X2))    &lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(3)                   % Shifted DFT&lt;br /&gt;
XS2=fftshift(X2);&lt;br /&gt;
f2=-1/(2*T):1/(N2*T):1/(2*T);&lt;br /&gt;
plot(f2,abs(XS2))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Image:DH12_1.jpg]]&lt;br /&gt;
[[Image:DH12_2.jpg]]&lt;br /&gt;
[[Image:DH12_3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Explaination===&lt;br /&gt;
From the graphs above we see that the DFT is similar to the real Fourier Transform but is only an approximation. The actual Fourier Transform of an input signal with a single frequency F would simply have impulses of infinite height at the positive and negative frequency F. But as seen in this example the DFT only gives impulse like &amp;quot;spikes&amp;quot; that have a height of about 48. Furthermore, without shifting the DFT the &amp;quot;spike&amp;quot; on the left is at the right frequency but the one on the left is not. But as shown, a simple shift takes care of this latter problem.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4334</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4334"/>
		<updated>2007-12-07T07:10:39Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Sample &amp;lt;math&amp;gt; sin( 2 \pi nt) &amp;lt;/math&amp;gt; at 3Hz, take the DFT, and explain the results.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
Here is the MATLAB code and resulting figures:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 3;              % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
t = 0:.01:5;&lt;br /&gt;
N2 = 500;          % Number of sampling points&lt;br /&gt;
N3 = 30;&lt;br /&gt;
t2 = 0:T:N2*T;&lt;br /&gt;
t3 = 0:T:N3*T;&lt;br /&gt;
&lt;br /&gt;
x = sin(2*pi*t);    % Signal that is sampled&lt;br /&gt;
x2 = sin(2*pi*t2);&lt;br /&gt;
x3 = sin(2*pi*t3);&lt;br /&gt;
&lt;br /&gt;
X2 = fft(x2);         % DFT of long signal&lt;br /&gt;
X3 = fft(x3);         % DFT of short signal&lt;br /&gt;
&lt;br /&gt;
figure(1)                    %Original signal&lt;br /&gt;
plot(t(1:500),x(1:500))&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Original Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2)&lt;br /&gt;
plot(t2(1:15),x2(1:15))      % Sampled signal&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Sampled Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(3)                    %DFT of long signal&lt;br /&gt;
plot(t2/(N2*T*T),abs(X2))    &lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(4)                    % DFT of short signal&lt;br /&gt;
plot(t3/(N3*T*T),abs(X3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 30 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(5)                   % Shifted DFT of long signal&lt;br /&gt;
XS2=fftshift(X2);&lt;br /&gt;
f2=-1/(2*T):1/(N2*T):1/(2*T);&lt;br /&gt;
plot(f2,abs(XS2))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(6)                   % Shifted DFT of short signal&lt;br /&gt;
XS3=fftshift(X3);&lt;br /&gt;
f3=-1/(2*T):1/(N3*T):1/(2*T);&lt;br /&gt;
plot(f3,abs(XS3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 30 Samples&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DH13_1.jpg]]&lt;br /&gt;
[[Image:DH13_2.jpg]]&lt;br /&gt;
[[Image:DH13_3.jpg]]&lt;br /&gt;
[[Image:DH13_4.jpg]]&lt;br /&gt;
[[Image:DH13_5.jpg]]&lt;br /&gt;
[[Image:DH13_6.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Explanation===&lt;br /&gt;
The DFT only gives us an approximation of the actual Fourier Transform, as was found in the last homework. With few sampling points the DFT hardly resembles the expected trasfrom. This is because the edge effects have a greater affect with fewer sample points. &lt;br /&gt;
From the example above we see that the more sampling points we take the closer the DFT resembles the actual transform. e.g. with 30 sample points the DFT has &amp;quot;spikes&amp;quot; with height of about 12 but with 500 sample points they have a height of 250, which is obviously closer the expected Dirac delta funtions with infinite height.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4333</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4333"/>
		<updated>2007-12-07T06:54:17Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Sample &amp;lt;math&amp;gt; sin( 2 \pi nt) &amp;lt;/math&amp;gt; at 3Hz, take the DFT, and explain the results.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
Here is the MATLAB code and resulting figures:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 3;              % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
t = 0:.01:5;&lt;br /&gt;
N2 = 500;          % Number of sampling points&lt;br /&gt;
N3 = 30;&lt;br /&gt;
t2 = 0:T:N2*T;&lt;br /&gt;
t3 = 0:T:N3*T;&lt;br /&gt;
&lt;br /&gt;
x = sin(2*pi*t);    % Signal that is sampled&lt;br /&gt;
x2 = sin(2*pi*t2);&lt;br /&gt;
x3 = sin(2*pi*t3);&lt;br /&gt;
&lt;br /&gt;
X2 = fft(x2);         % DFT of long signal&lt;br /&gt;
X3 = fft(x3);         % DFT of short signal&lt;br /&gt;
&lt;br /&gt;
figure(1)                    %Original signal&lt;br /&gt;
plot(t(1:500),x(1:500))&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Original Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2)&lt;br /&gt;
plot(t2(1:15),x2(1:15))      % Sampled signal&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Sampled Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(3)                    %DFT of long signal&lt;br /&gt;
plot(t2/(N2*T*T),abs(X2))    &lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(4)                    % DFT of short signal&lt;br /&gt;
plot(t3/(N3*T*T),abs(X3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 30 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(5)                   % Shifted DFT of long signal&lt;br /&gt;
XS2=fftshift(X2);&lt;br /&gt;
f2=-1/(2*T):1/(N2*T):1/(2*T);&lt;br /&gt;
plot(f2,abs(XS2))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(6)                   % Shifted DFT of short signal&lt;br /&gt;
XS3=fftshift(X3);&lt;br /&gt;
f3=-1/(2*T):1/(N3*T):1/(2*T);&lt;br /&gt;
plot(f3,abs(XS3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 30 Samples&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DH13_1.jpg]]&lt;br /&gt;
[[Image:DH13_2.jpg]]&lt;br /&gt;
[[Image:DH13_3.jpg]]&lt;br /&gt;
[[Image:DH13_4.jpg]]&lt;br /&gt;
[[Image:DH13_5.jpg]]&lt;br /&gt;
[[Image:DH13_6.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Explanation===&lt;br /&gt;
The DFT only gives us an approximation of the actual Fourier Transform, as was found in the last homework. With few sampling points the DFT hardly resembles the expected trasfrom. This is because the edge effects have a greater affect with fewer sample points. But as we increase the number of sample points the DFT more closely resembles the expected transform.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_6.jpg&amp;diff=4332</id>
		<title>File:DH13 6.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_6.jpg&amp;diff=4332"/>
		<updated>2007-12-07T06:40:41Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_5.jpg&amp;diff=4331</id>
		<title>File:DH13 5.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_5.jpg&amp;diff=4331"/>
		<updated>2007-12-07T06:40:30Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_4.jpg&amp;diff=4330</id>
		<title>File:DH13 4.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_4.jpg&amp;diff=4330"/>
		<updated>2007-12-07T06:40:18Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_3.jpg&amp;diff=4329</id>
		<title>File:DH13 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_3.jpg&amp;diff=4329"/>
		<updated>2007-12-07T06:40:01Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_2.jpg&amp;diff=4328</id>
		<title>File:DH13 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_2.jpg&amp;diff=4328"/>
		<updated>2007-12-07T06:39:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_1.jpg&amp;diff=4327</id>
		<title>File:DH13 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:DH13_1.jpg&amp;diff=4327"/>
		<updated>2007-12-07T06:39:29Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4325</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4325"/>
		<updated>2007-12-07T06:38:45Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Sample &amp;lt;math&amp;gt; sin( 2 \pi nt) &amp;lt;/math&amp;gt; at 3Hz, take the DFT, and explain the results.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
Here is the MATLAB code and resulting figures:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 3;              % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
t = 0:.01:5;&lt;br /&gt;
N2 = 500;          % Number of sampling points&lt;br /&gt;
N3 = 30;&lt;br /&gt;
t2 = 0:T:N2*T;&lt;br /&gt;
t3 = 0:T:N3*T;&lt;br /&gt;
&lt;br /&gt;
x = sin(2*pi*t);    % Signal that is sampled&lt;br /&gt;
x2 = sin(2*pi*t2);&lt;br /&gt;
x3 = sin(2*pi*t3);&lt;br /&gt;
&lt;br /&gt;
X2 = fft(x2);         % DFT of long signal&lt;br /&gt;
X3 = fft(x3);         % DFT of short signal&lt;br /&gt;
&lt;br /&gt;
figure(1)                    %Original signal&lt;br /&gt;
plot(t(1:500),x(1:500))&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Original Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2)&lt;br /&gt;
plot(t2(1:15),x2(1:15))      % Sampled signal&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Sampled Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(3)                    %DFT of long signal&lt;br /&gt;
plot(t2/(N2*T*T),abs(X2))    &lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(4)                    % DFT of short signal&lt;br /&gt;
plot(t3/(N3*T*T),abs(X3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 30 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(5)                   % Shifted DFT of long signal&lt;br /&gt;
XS2=fftshift(X2);&lt;br /&gt;
f2=-1/(2*T):1/(N2*T):1/(2*T);&lt;br /&gt;
plot(f2,abs(XS2))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(6)                   % Shifted DFT of short signal&lt;br /&gt;
XS3=fftshift(X3);&lt;br /&gt;
f3=-1/(2*T):1/(N3*T):1/(2*T);&lt;br /&gt;
plot(f3,abs(XS3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 30 Samples&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:DH13_1.jpg]]&lt;br /&gt;
[[Image:DH13_2.jpg]]&lt;br /&gt;
[[Image:DH13_3.jpg]]&lt;br /&gt;
[[Image:DH13_4.jpg]]&lt;br /&gt;
[[Image:DH13_5.jpg]]&lt;br /&gt;
[[Image:DH13_6.jpg]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4324</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4324"/>
		<updated>2007-12-07T06:35:23Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Sample &amp;lt;math&amp;gt; sin( 2 \pi nt) &amp;lt;/math&amp;gt; at 3Hz, take the DFT, and explain the results.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
Here is the MATLAB code and resulting figures:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
f = 3;              % Sampling freq.&lt;br /&gt;
T = 1/f;            % Sampling period&lt;br /&gt;
t = 0:.01:5;&lt;br /&gt;
N2 = 500;          % Number of sampling points&lt;br /&gt;
N3 = 30;&lt;br /&gt;
t2 = 0:T:N2*T;&lt;br /&gt;
t3 = 0:T:N3*T;&lt;br /&gt;
&lt;br /&gt;
x = sin(2*pi*t);    % Signal that is sampled&lt;br /&gt;
x2 = sin(2*pi*t2);&lt;br /&gt;
x3 = sin(2*pi*t3);&lt;br /&gt;
&lt;br /&gt;
X2 = fft(x2);         % DFT of long signal&lt;br /&gt;
X3 = fft(x3);         % DFT of short signal&lt;br /&gt;
&lt;br /&gt;
figure(1)                    %Original signal&lt;br /&gt;
plot(t(1:500),x(1:500))&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Original Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(2)&lt;br /&gt;
plot(t2(1:15),x2(1:15))      % Sampled signal&lt;br /&gt;
xlabel(&#039;Time (s)&#039;)&lt;br /&gt;
ylabel(&#039;x(t)&#039;)&lt;br /&gt;
title(&#039;Sampled Input Signal&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(3)                    %DFT of long signal&lt;br /&gt;
plot(t2/(N2*T*T),abs(X2))    &lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(4)                    % DFT of short signal&lt;br /&gt;
plot(t3/(N3*T*T),abs(X3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;DFT of 30 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(5)                   % Shifted DFT of long signal&lt;br /&gt;
XS2=fftshift(X2);&lt;br /&gt;
f2=-1/(2*T):1/(N2*T):1/(2*T);&lt;br /&gt;
plot(f2,abs(XS2))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 500 Samples&#039;)&lt;br /&gt;
&lt;br /&gt;
figure(6)                   % Shifted DFT of short signal&lt;br /&gt;
XS3=fftshift(X3);&lt;br /&gt;
f3=-1/(2*T):1/(N3*T):1/(2*T);&lt;br /&gt;
plot(f3,abs(XS3))&lt;br /&gt;
xlabel(&#039;Frequency (s)&#039;)&lt;br /&gt;
ylabel(&#039;X(F)&#039;)&lt;br /&gt;
title(&#039;Shifted DFT of 30 Samples&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[DH13_1.jpg]]&lt;br /&gt;
[[DH13_2.jpg]]&lt;br /&gt;
[[DH13_3.jpg]]&lt;br /&gt;
[[DH13_4.jpg]]&lt;br /&gt;
[[DH13_5.jpg]]&lt;br /&gt;
[[DH13_6.jpg]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4321</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4321"/>
		<updated>2007-12-06T00:24:50Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Sample &amp;lt;math&amp;gt; sin( 2 \pi nt) &amp;lt;/math&amp;gt; at 3Hz, take the DFT, and explain the results.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4279</id>
		<title>DFT by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4279"/>
		<updated>2007-12-03T01:12:35Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Use MATLAB, OCTAVE, or SCILAB to show how the DFT is related to the actual Fourier Transform.&lt;br /&gt;
&lt;br /&gt;
===Solution===&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4278</id>
		<title>DFT by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4278"/>
		<updated>2007-12-03T01:12:20Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
===Problem Statement==&lt;br /&gt;
Use MATLAB, OCTAVE, or SCILAB to show how the DFT is related to the actual Fourier Transform.&lt;br /&gt;
&lt;br /&gt;
===Solution===&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4228</id>
		<title>Samping by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4228"/>
		<updated>2007-11-13T04:20:50Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* How to Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Sampling==&lt;br /&gt;
Sampling is the process by which an anolog signal is converted into a digital signal and fed into digital circuit. Sampling is done by measuring the analog signal at a regular time interval. Each measurement of the anolog signal is called a sample. We can store and easily manupulate these samples in a computer and then interpolate between the sample points to fully reconstruct the original analog signal when we want to send the signal out of the computer. But we can only reconstruct orignal signal if we have sampled at a rate greater than twice the highest frequency component of the anolog signal. This restriction is given by the Nyquist Theorem which states:&lt;br /&gt;
&lt;br /&gt;
===Nyquist Theorem===&lt;br /&gt;
A band-limited input signal can be recovered without distortion if it is sampled at a rate of at least twice the highest frequency component of interest within the signal.&lt;br /&gt;
&lt;br /&gt;
==How to Sample==&lt;br /&gt;
For a given input signal x(t)&lt;br /&gt;
[[Image:InputSignal.jpg]]&lt;br /&gt;
:we want to sample this at time intervals T. This can be done by multiplying x(t) with a series of impulses&lt;br /&gt;
[[Image:ImpulseString.jpg]]&lt;br /&gt;
:given by &amp;lt;math&amp;gt;\sum_{n=-\infty}^{\infty} \delta(t - nT) \ &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The product gives us &lt;br /&gt;
[[Image:ResultSignal.jpg]]&lt;br /&gt;
which is represented by: &amp;lt;math&amp;gt;\sum_{n=-\infty}^{\infty} x(nT) \delta(t - nT) \ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have a digital representation of the signal in a computer as long as the signal is finite in length. The &amp;quot;height&amp;quot; or magnitude of each sample is given by the coeficients x(nT) of each delta funtion.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:ResultSignal.jpg&amp;diff=4227</id>
		<title>File:ResultSignal.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:ResultSignal.jpg&amp;diff=4227"/>
		<updated>2007-11-13T04:15:03Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4226</id>
		<title>Samping by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4226"/>
		<updated>2007-11-13T04:14:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* How to Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Sampling==&lt;br /&gt;
Sampling is the process by which an anolog signal is converted into a digital signal and fed into digital circuit. Sampling is done by measuring the analog signal at a regular time interval. Each measurement of the anolog signal is called a sample. We can store and easily manupulate these samples in a computer and then interpolate between the sample points to fully reconstruct the original analog signal when we want to send the signal out of the computer. But we can only reconstruct orignal signal if we have sampled at a rate greater than twice the highest frequency component of the anolog signal. This restriction is given by the Nyquist Theorem which states:&lt;br /&gt;
&lt;br /&gt;
===Nyquist Theorem===&lt;br /&gt;
A band-limited input signal can be recovered without distortion if it is sampled at a rate of at least twice the highest frequency component of interest within the signal.&lt;br /&gt;
&lt;br /&gt;
==How to Sample==&lt;br /&gt;
For a given input signal x(t)&lt;br /&gt;
[[Image:InputSignal.jpg]]&lt;br /&gt;
:we want to sample this at time intervals T. This can be done by multiplying x(t) with a series of impulses&lt;br /&gt;
[[Image:ImpulseString.jpg]]&lt;br /&gt;
:given by &amp;lt;math&amp;gt;\sum_{n=-\infty}^{\infty} \delta(t - nT) \ &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The product gives us &lt;br /&gt;
[[Image:ResultSignal.jpg]]&lt;br /&gt;
which is represented by: &amp;lt;math&amp;gt;\sum_{n=-\infty}^{\infty} x(nt) \delta(t - nT) \ &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4225</id>
		<title>Samping by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4225"/>
		<updated>2007-11-13T03:36:54Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* How to Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Sampling==&lt;br /&gt;
Sampling is the process by which an anolog signal is converted into a digital signal and fed into digital circuit. Sampling is done by measuring the analog signal at a regular time interval. Each measurement of the anolog signal is called a sample. We can store and easily manupulate these samples in a computer and then interpolate between the sample points to fully reconstruct the original analog signal when we want to send the signal out of the computer. But we can only reconstruct orignal signal if we have sampled at a rate greater than twice the highest frequency component of the anolog signal. This restriction is given by the Nyquist Theorem which states:&lt;br /&gt;
&lt;br /&gt;
===Nyquist Theorem===&lt;br /&gt;
A band-limited input signal can be recovered without distortion if it is sampled at a rate of at least twice the highest frequency component of interest within the signal.&lt;br /&gt;
&lt;br /&gt;
==How to Sample==&lt;br /&gt;
For a given input signal x(t)&lt;br /&gt;
[[Image:InputSignal.jpg]]&lt;br /&gt;
:we want to sample this at time intervals T. This can be done by multiplying x(t) with a series of impulses&lt;br /&gt;
[[Image:ImpulseString.jpg]]&lt;br /&gt;
:given by &amp;lt;math&amp;gt;\int_{-\infty}^\infty \delta(x) \, dx = 1.&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:ImpulseString.jpg&amp;diff=4224</id>
		<title>File:ImpulseString.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:ImpulseString.jpg&amp;diff=4224"/>
		<updated>2007-11-13T03:36:21Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:InputSignal.jpg&amp;diff=4223</id>
		<title>File:InputSignal.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:InputSignal.jpg&amp;diff=4223"/>
		<updated>2007-11-13T03:35:59Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4222</id>
		<title>Samping by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4222"/>
		<updated>2007-11-13T03:17:23Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Sampling==&lt;br /&gt;
Sampling is the process by which an anolog signal is converted into a digital signal and fed into digital circuit. Sampling is done by measuring the analog signal at a regular time interval. Each measurement of the anolog signal is called a sample. We can store and easily manupulate these samples in a computer and then interpolate between the sample points to fully reconstruct the original analog signal when we want to send the signal out of the computer. But we can only reconstruct orignal signal if we have sampled at a rate greater than twice the highest frequency component of the anolog signal. This restriction is given by the Nyquist Theorem which states:&lt;br /&gt;
&lt;br /&gt;
===Nyquist Theorem===&lt;br /&gt;
A band-limited input signal can be recovered without distortion if it is sampled at a rate of at least twice the highest frequency component of interest within the signal.&lt;br /&gt;
&lt;br /&gt;
==How to Sample==&lt;br /&gt;
For a given input signal x(t)&lt;br /&gt;
[[Image:InputSignal.jpg]]&lt;br /&gt;
we want to sample this at time intervals T. This can be done by convolving x(t) with a series of impulses&lt;br /&gt;
[[Image:ImpulseString.jpg]]&lt;br /&gt;
given by &amp;lt;math&amp;gt;\int_{-\infty}^\infty \delta(x) \, dx = 1.&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4221</id>
		<title>DFT Exploration by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_Exploration_by_harrde&amp;diff=4221"/>
		<updated>2007-11-13T01:43:53Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4220</id>
		<title>DFT by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=DFT_by_harrde&amp;diff=4220"/>
		<updated>2007-11-13T01:43:42Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4219</id>
		<title>Samping by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Samping_by_harrde&amp;diff=4219"/>
		<updated>2007-11-13T01:43:31Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: Back to my page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4218</id>
		<title>Wiki Errors by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4218"/>
		<updated>2007-11-13T01:43:20Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Read Wiki and find three things to fix&lt;br /&gt;
&lt;br /&gt;
===Things I fixed===&lt;br /&gt;
Changed variable u to t in GabrielaV&#039;s Fourier Transform section to make it more clear.&lt;br /&gt;
&lt;br /&gt;
Changed variable u to t in my Fourier Transform section to make it correct.&lt;br /&gt;
&lt;br /&gt;
Fixed picture for Andrew Lopez.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4217</id>
		<title>Wiki Errors by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4217"/>
		<updated>2007-11-13T01:38:41Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Problem Statement===&lt;br /&gt;
Read Wiki and find three things to fix&lt;br /&gt;
&lt;br /&gt;
===Things I fixed===&lt;br /&gt;
Changed variable u to t in GabrielaV&#039;s Fourier Transform section to make it more clear.&lt;br /&gt;
&lt;br /&gt;
Changed variable u to t in my Fourier Transform section to make it correct.&lt;br /&gt;
&lt;br /&gt;
Fixed picture for Andrew Lopez.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:AndrewLopez.jpg&amp;diff=4216</id>
		<title>File:AndrewLopez.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:AndrewLopez.jpg&amp;diff=4216"/>
		<updated>2007-11-13T01:37:50Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Andrew&amp;diff=4215</id>
		<title>User:Andrew</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Andrew&amp;diff=4215"/>
		<updated>2007-11-13T01:37:36Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* The Comatose Stare */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==The Comatose Stare==&lt;br /&gt;
[[Image:AndrewLopez.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Andrew - Origin: Greek, French | Meaning: Manly, Valiant, Courageous&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For more information about me click here --- &amp;gt; [http://www.mask.wwc.edu/profile/show/826 Mask]&lt;br /&gt;
&lt;br /&gt;
Add Me to your [http://www.myspace.com/andrewlop Myspace]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=FT&amp;diff=4214</id>
		<title>FT</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=FT&amp;diff=4214"/>
		<updated>2007-11-13T01:33:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Fourier Transform Derivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Why&#039;&#039;&#039; do we want to find the fourier transform function? This question should be answered first so that we can have motivation for learning &#039;&#039;&#039;how&#039;&#039;&#039; to perform this transformation. Once we see why we want the learn about the fourier transform it will be useful to work through the derivation of the transform. This will give us a greater understanding of the transform and greatly increase the chances that we will remember how to use it in the future.&lt;br /&gt;
&lt;br /&gt;
==Why==&lt;br /&gt;
The reasoning behind performing the fourier transform is fairly simple compared to actually performing the transform. We want this transform so that for any given real signal x(t) we can easily see the frequency and amplititude of each sine and cosine component. These components when added together using the principle of superposition sum to exactly x(t). This transform is very useful in many applications from radio signal processing to image processing, and this is &#039;&#039;&#039;why&#039;&#039;&#039; we want to learn about it.&lt;br /&gt;
&lt;br /&gt;
==How==&lt;br /&gt;
===Fourier Series===&lt;br /&gt;
The fourier transform is a generalization of the fourier series. The fourier series is given by &lt;br /&gt;
&amp;lt;math&amp;gt; \sum_{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; \alpha_n = 1/T \int_{-T/2} ^{T/2} x(t) e^{-j2 \pi nt/T} dt &amp;lt;/math&amp;gt;, and can be used to represent periodic functions. &lt;br /&gt;
&lt;br /&gt;
===Fourier Transform Derivation===&lt;br /&gt;
Now from the Fourier Series we want to derive the Fourier Transform, which is very similar except that it can be used for nonperiodic funtions. This can be done by simply letting the period &amp;lt;math&amp;gt; T &amp;lt;/math&amp;gt; go to infinity.&lt;br /&gt;
&lt;br /&gt;
So for &amp;lt;math&amp;gt; x(t) = \sum_{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We&#039;ll let:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; \infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; n/T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 1/T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; df &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \sum _{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; \int_{-\infty}^\infty \alpha_n e^{j2 \pi ft}df &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \alpha_n &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; X(f) =  \int_{-\infty} ^{\infty} x(t) e^{-j2 \pi ft} dt &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; x(t) = \int_{-\infty}^\infty (\int_{-\infty} ^{\infty} x(u) e^{-j2 \pi ft} du) e^{j2 \pi ft}df &amp;lt;/math&amp;gt;  -&amp;gt;  &amp;lt;math&amp;gt; x(t) = \mathcal{F}^{-1}[X(f)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;  \int_{-\infty} ^{\infty} x(u) e^{-j2 \pi ft} du = X(f) = \mathcal{F}[x(t)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \int_{-\infty}^\infty X(f) e^{j2 \pi ft}df = x(t) = \mathcal{F}^{-1}[X(f)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Some Fourier Transform Identities===&lt;br /&gt;
&lt;br /&gt;
=====Differentiation=====&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{dx}{dt} = \int_{-\infty}^\infty j 2 \pi X(f) e^{j 2 \pi f t} df = \mathcal{F}^{-1}[j 2 \pi f X(f)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Time Shift=====&lt;br /&gt;
&amp;lt;math&amp;gt;x(t-t_o) = \int_{-\infty}^\infty j 2 \pi X(f) e^{j 2 \pi f(t-t_o)} df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;     = \int_{-\infty}^\infty e^{-j 2 \pi f t_o} X(f) e^{j 2 \pi f t} df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;     = \mathcal{F}^{-1}[e^{-j 2 \pi f t_o}X(f)] &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=FT&amp;diff=4213</id>
		<title>FT</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=FT&amp;diff=4213"/>
		<updated>2007-11-13T01:33:17Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Fourier Transform Derivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&#039;&#039;&#039;Why&#039;&#039;&#039; do we want to find the fourier transform function? This question should be answered first so that we can have motivation for learning &#039;&#039;&#039;how&#039;&#039;&#039; to perform this transformation. Once we see why we want the learn about the fourier transform it will be useful to work through the derivation of the transform. This will give us a greater understanding of the transform and greatly increase the chances that we will remember how to use it in the future.&lt;br /&gt;
&lt;br /&gt;
==Why==&lt;br /&gt;
The reasoning behind performing the fourier transform is fairly simple compared to actually performing the transform. We want this transform so that for any given real signal x(t) we can easily see the frequency and amplititude of each sine and cosine component. These components when added together using the principle of superposition sum to exactly x(t). This transform is very useful in many applications from radio signal processing to image processing, and this is &#039;&#039;&#039;why&#039;&#039;&#039; we want to learn about it.&lt;br /&gt;
&lt;br /&gt;
==How==&lt;br /&gt;
===Fourier Series===&lt;br /&gt;
The fourier transform is a generalization of the fourier series. The fourier series is given by &lt;br /&gt;
&amp;lt;math&amp;gt; \sum_{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; \alpha_n = 1/T \int_{-T/2} ^{T/2} x(t) e^{-j2 \pi nt/T} dt &amp;lt;/math&amp;gt;, and can be used to represent periodic functions. &lt;br /&gt;
&lt;br /&gt;
===Fourier Transform Derivation===&lt;br /&gt;
Now from the Fourier Series we want to derive the Fourier Transform, which is very similar except that it can be used for nonperiodic funtions. This can be done by simply letting the period &amp;lt;math&amp;gt; T &amp;lt;/math&amp;gt; go to infinity.&lt;br /&gt;
&lt;br /&gt;
So for &amp;lt;math&amp;gt; x(t) = \sum_{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We&#039;ll let:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; \infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; n/T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; f &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 1/T &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; df &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \sum _{n=-\infty}^\infty \alpha_n e^{j2 \pi nt/T} &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; \int_{-\infty}^\infty \alpha_n e^{j2 \pi ft}df &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \alpha_n &amp;lt;/math&amp;gt; -&amp;gt; &amp;lt;math&amp;gt; X(f) =  \int_{-\infty} ^{\infty} x(u) e^{-j2 \pi ft} dt &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; x(t) = \int_{-\infty}^\infty (\int_{-\infty} ^{\infty} x(u) e^{-j2 \pi ft} du) e^{j2 \pi ft}df &amp;lt;/math&amp;gt;  -&amp;gt;  &amp;lt;math&amp;gt; x(t) = \mathcal{F}^{-1}[X(f)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;  \int_{-\infty} ^{\infty} x(u) e^{-j2 \pi ft} du = X(f) = \mathcal{F}[x(t)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \int_{-\infty}^\infty X(f) e^{j2 \pi ft}df = x(t) = \mathcal{F}^{-1}[X(f)] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Some Fourier Transform Identities===&lt;br /&gt;
&lt;br /&gt;
=====Differentiation=====&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{dx}{dt} = \int_{-\infty}^\infty j 2 \pi X(f) e^{j 2 \pi f t} df = \mathcal{F}^{-1}[j 2 \pi f X(f)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Time Shift=====&lt;br /&gt;
&amp;lt;math&amp;gt;x(t-t_o) = \int_{-\infty}^\infty j 2 \pi X(f) e^{j 2 \pi f(t-t_o)} df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;     = \int_{-\infty}^\infty e^{-j 2 \pi f t_o} X(f) e^{j 2 \pi f t} df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;     = \mathcal{F}^{-1}[e^{-j 2 \pi f t_o}X(f)] &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4192</id>
		<title>Wiki Errors by harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Wiki_Errors_by_harrde&amp;diff=4192"/>
		<updated>2007-11-11T21:54:50Z</updated>

		<summary type="html">&lt;p&gt;Harrde: New page: ===Problem Statement=== Read Wiki and find three things to fix  ===Things I fixed===&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Problem Statement===&lt;br /&gt;
Read Wiki and find three things to fix&lt;br /&gt;
&lt;br /&gt;
===Things I fixed===&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=User:GabrielaV&amp;diff=4191</id>
		<title>User:GabrielaV</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=User:GabrielaV&amp;diff=4191"/>
		<updated>2007-11-11T21:49:03Z</updated>

		<summary type="html">&lt;p&gt;Harrde: /* Fourier Transform */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to Gabriela&#039;s Wiki page ==&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Do you want to know how to contact me or find out some interesting&lt;br /&gt;
things about me?&lt;br /&gt;
[[http://mask.wwc.edu/2005-2006/person.html?PersonId=20051034]]&lt;br /&gt;
&lt;br /&gt;
==Signals &amp;amp; Systems==&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Find the first two orthonormal polynomials on the interval [-1,1]&lt;br /&gt;
&lt;br /&gt;
1. What is orthonormal?&lt;br /&gt;
[http://cubex.wwc.edu/~frohro/wiki/index.php/Orthogonal_functions#Normalization]&lt;br /&gt;
&lt;br /&gt;
2. What is orthogonal?&lt;br /&gt;
[http://cubex.wwc.edu/~frohro/wiki/index.php/Orthogonal_functions#Orthogonality_for_functions]&lt;br /&gt;
&lt;br /&gt;
3. What is a polynomial?&lt;br /&gt;
[http://en.wikipedia.org/w/index.php?title=Polynomial&amp;amp;redirect=no]&lt;br /&gt;
         &amp;lt;math&amp;gt;\bold a &amp;lt;/math&amp;gt;&lt;br /&gt;
         &amp;lt;math&amp;gt;\bold bt+c &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Now we can find the values for the unknown variables.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; &amp;lt;a|a&amp;gt;= \int_{-1}^1 a a dt =1 &amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;\bold a = \sqrt{\frac {1}{2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; &amp;lt;bt+c|a&amp;gt;= \int_{-1}^1 a (bt+c) dt =0 &amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;\bold c=0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; &amp;lt;bt+c|bt+c&amp;gt;= \int_{-1}^1 (bt+c)^2 dt=1 &amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;\bold a = \sqrt{\frac {3}{2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Now that we know what the first two orthonormal polynomials!&lt;br /&gt;
&lt;br /&gt;
== Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
As previously discussed, &#039;&#039;Fourier series&#039;&#039; is an expansion of a periodic function therefore we can not use it to transform a non-periodic funciton from time to the frequency domain. Fortunately the &#039;&#039;Fourier&#039;&#039; &#039;&#039;transform&#039;&#039; allows for the transformation to be done on a non-periodic function. The &#039;&#039;Fourier transform&#039;&#039; allows to change a function from the time domain to frequency domain or the &#039;&#039;inverse fourier transform&#039;&#039; from frequency domain to time domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to understand the relationship between a non-periodic function and it&#039;s counterpart we must go back to &#039;&#039;Fourier series&#039;&#039;. Remember the  complex exponential signal?&lt;br /&gt;
[http://cubex.wwc.edu/~frohro/wiki/index.php/Fourier_series#Periodic_Functions]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; x(t)=x(t+T)=\sum_{k= -\infty}^ \infty \alpha_k e^ \frac{j 2 \pi k t}{T}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
::&amp;lt;math&amp;gt;\bold \alpha_k={1/T}\int_{-{T\over 2}}^{{T\over 2}} x(t) e^{-j2\pi kt\over T}dt&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &lt;br /&gt;
::&amp;lt;math&amp;gt;\bold {T\to\infty}&amp;lt;/math&amp;gt;&lt;br /&gt;
The summation becomes integration, the harmoinic frequency becomes a continuous frequency, and the incremental spacing becomes a differential separation. &lt;br /&gt;
::&amp;lt;math&amp;gt; \sum_{k=-\infty}^\infty\to\int_{-\infty}^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt; {{k\over T}\to f}&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt; {1/T}\to df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The result is&lt;br /&gt;
::&amp;lt;math&amp;gt;\lim_{T\to\infty}=\int_{-\infty}^\infty  {\left[\int_{-\infty}^\infty x(u)e^{-j2\pi fu}du\right]}  e^{j2\pi ft}df&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The term in the brackets is the &#039;&#039;Fourier transfrom&#039;&#039; of &#039;&#039;x(t)&#039;&#039;&lt;br /&gt;
::&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}[x(t)]=X(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inverse &#039;&#039;Fourier transform&#039;&#039;&lt;br /&gt;
::&amp;lt;math&amp;gt;x(t)=\mathcal{F}^{-1}[X(f)]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How a CD Player Works==&lt;br /&gt;
The first step on how a CD player works is that it takes data from the cd that is mathmatically represented by&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n=-\infty}^\infty \ x(nt) \delta (t-nT)&amp;lt;/math&amp;gt;&lt;br /&gt;
The data then goes through the Digital to Analog Converter and it is convolved with &lt;br /&gt;
&amp;lt;math&amp;gt;\ p(t) &amp;lt;/math&amp;gt; ( See figure below)&lt;br /&gt;
&lt;br /&gt;
[[Image:barnsaDA.jpg|Digital to analog conversion]]The result is &amp;lt;math&amp;gt;\sum_{n=-\infty}^\infty \ x(nt) \ p(t-nT) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see in the Frequency domain the final result does not appear to look like the original signal. &lt;br /&gt;
Therefore we pass  &amp;lt;math&amp;gt; P(f)\cdot \frac{1} {T}\sum_{m=-\infty}^\infty X(f-\frac{m} {T}) &amp;lt;/math&amp;gt; through a low pass filter to knock out the high frequencies.&lt;br /&gt;
&lt;br /&gt;
==2x Oversampling(Interperolating FIR filter)==&lt;br /&gt;
The benefit of using oversampling is that this allows for more samples to be taken.  &lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt; \sum_{k= -\infty}^ \infty \ x(nT) \delta (t-nT) &amp;lt;/math&amp;gt; in the time domain and we convolve it with &amp;lt;math&amp;gt; \sum_{m= -M}^ M  h(\frac {mT}{2}) \delta (t-\frac {mT}{2}) &amp;lt;/math&amp;gt;&lt;br /&gt;
[[Image:2x01.jpg|Illustration of 2x Oversampling pt.1]] which equals &amp;lt;math&amp;gt;\sum_{k= -\infty}^ \infty \ x(nT) h(\frac {mT}{2}) \delta (t-nT- \frac{mT}{2})&amp;lt;/math&amp;gt;&lt;br /&gt;
[[Image:2x02.jpg|Illustration of 2x Oversampling pt.2]]&lt;br /&gt;
If we let &amp;lt;math&amp;gt; (\frac{l}{2}) = (n +(\frac{m}{2}))&amp;lt;/math&amp;gt; therefore, &amp;lt;math&amp;gt; n = (\frac{l-m}{2}) &amp;lt;/math&amp;gt; which makes &amp;lt;math&amp;gt; \hat y (t) = \sum_{l=-\infty}^\infty \left ( \sum_{m=-M}^M x \left (\frac{l-m}{2} T \right) h \left(\frac{mT}{2} \right) \right) \delta \left (t - \frac{lT}{2} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FIR filter==&lt;br /&gt;
FIR stands for finite impulse response and it is one of two digital signal filters used.&lt;br /&gt;
The FIR has no feedback so eventually it will have new data and the old one will be thrown away. &lt;br /&gt;
&amp;lt;math&amp;gt;h(mT) = T \int_{-f}^f \hat H (f) e^{j 2 \pi f m t} df &amp;lt;/math&amp;gt;&lt;br /&gt;
is the coefficient that are sent out of the D/A converter.&lt;br /&gt;
H(f) is the frequency response which mathmatically is &amp;lt;math&amp;gt; H(f)=\sum_{m=-M}^{M}h(mT)e^{-j 2 \pi f m T} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===FIR Application===&lt;br /&gt;
Design an FIR low pass filter to pass between &amp;lt;math&amp;gt; -\frac{1}{4T} &amp;lt; f &amp;lt; \frac{1}{4T} &amp;lt;/math&amp;gt; and reject the rest.&lt;br /&gt;
&amp;lt;math&amp;gt; H_{hat} = 1 \begin{cases} 1, &amp;amp; |f|  \le \frac{1}{4T} \\ 0, &amp;amp; else \end{cases} &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; h(mT) = T \int_{\frac{-1}{4T}}^{\frac{1}{4T}} 1 e^{j 2 \pi f m t} df = T\frac{e^{j 2 \pi \frac{1}{4T} m T} - e^{j 2 \pi \frac{-1}{4T} m T}}{j 2 \pi m T}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; =  \left ( \frac{1}{2} \right) \frac{sin \left ( \frac{\pi m}{2} \right)} {\left(\frac{\pi m}{2}\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The actual frequency response is &lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{m=-M}^M h(mT) e^{- j 2 \pi f m T} = \sum_{m=-M}^M \frac{ sin \left ( \frac{\pi m}{2} \right) }{\pi m} e^{- j 2 \pi f m T} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://fweb.wwc.edu/index.php/Image:Frequency_Response_Pict.png] shows the example in Matlab&lt;br /&gt;
&lt;br /&gt;
==Adaptive Filter==&lt;br /&gt;
An Adaptive Fitler is useful when filtering needs to be done and the transfer function of the noise signal is not known. The adaptive filter uses feedback to filter out the noise signal. The objective is to drive the error to zero.&lt;br /&gt;
[[Image:Afilter.jpg]]&lt;br /&gt;
===Adaptive Filter Application===&lt;br /&gt;
A pilot and a co-pilot are trying to communicate, but there is a problem because &lt;br /&gt;
the microphone picks up the engine noise. &lt;br /&gt;
What to do? Use an adaptive filter to eliminate the unwanted noise. &lt;br /&gt;
We need two microphones. &lt;br /&gt;
* engine noise+voice ( unknown transfer function)&lt;br /&gt;
* engine noise ( microphone by the engine)&lt;br /&gt;
both signals will pass through a low pass filter and then through a Analog to Digital  &lt;br /&gt;
converter. &lt;br /&gt;
:r(n)=s(n)+ nf(n)  engine noise+voice&lt;br /&gt;
:x(n)              engine noise&lt;br /&gt;
Following the adaptive filter block diagram x(n) will go to FIR &amp;lt;math&amp;gt; h_{n}(k) &amp;lt;/math&amp;gt; and the coefficient adjust.&lt;br /&gt;
:-r(n) and y(n) will both go to the summation.&lt;br /&gt;
e(n) will then go to the co-pilot&#039;s earphone and the coefficient adjust until e(n) is zero.&lt;br /&gt;
&lt;br /&gt;
[http://www.wwc.edu/~frohro/ClassNotes/ENGR455/2005/Keystone/thumb/80020051130KeyPB300080.jpg]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4190</id>
		<title>User:Harrde</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=User:Harrde&amp;diff=4190"/>
		<updated>2007-11-11T21:33:48Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Signals and systems|Back to Signals and Systems]]&lt;br /&gt;
=Denver Harris&#039; Page=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interests==&lt;br /&gt;
I have always found too many things in life to occupy my time. I want to know what it&#039;s like to run out of things to do and therefore be bored. &lt;br /&gt;
&lt;br /&gt;
It seems there is never enough time to specialize in anything. &amp;quot;Jack of all trades, master of none&amp;quot; seems to be a description of me.&lt;br /&gt;
&lt;br /&gt;
==Info==&lt;br /&gt;
*Senior&lt;br /&gt;
*Electrical Engineering&lt;br /&gt;
*Married&lt;br /&gt;
*harrde@gmail.com&lt;br /&gt;
&lt;br /&gt;
==Homework==&lt;br /&gt;
H5 - [[FT|Fourier Transforms]]&lt;br /&gt;
&lt;br /&gt;
H8 - [[Samping by harrde|Samping]]&lt;br /&gt;
&lt;br /&gt;
H11 - [[Alias|Aliasing]]&lt;br /&gt;
&lt;br /&gt;
H12 - [[DFT by harrde|DFT]]&lt;br /&gt;
&lt;br /&gt;
H13 - [[DFT Exploration by harrde|DFT Exploration]]&lt;br /&gt;
&lt;br /&gt;
H14 - [[Wiki Errors by harrde|Wiki Errors]]&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Alias&amp;diff=4189</id>
		<title>Alias</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Alias&amp;diff=4189"/>
		<updated>2007-11-11T21:18:01Z</updated>

		<summary type="html">&lt;p&gt;Harrde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Harrde|Back to my page]]&lt;br /&gt;
&lt;br /&gt;
==Aliasing==&lt;br /&gt;
The Nyquist Theorem states that you must sample at a frequency which is twice that of the highest frequency components of the sampled signal in order to recover the sampled signal. If you sample at rate lower than this, you get aliasing. Below is a figure which shows how aliasing occurs and the Matlab code for it.&lt;br /&gt;
&lt;br /&gt;
[[Image:harrdeH11Fig.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
clear all;&lt;br /&gt;
&lt;br /&gt;
Ts = .2;                       %Sampling time (s)&lt;br /&gt;
ws = 2*pi/Ts;                   %Sampling frequency (rad/s)&lt;br /&gt;
   &lt;br /&gt;
t = [0:0.005:2];                %Time vector&lt;br /&gt;
&lt;br /&gt;
w1 = 7; w2 = 23; &lt;br /&gt;
y = cos(w1*t) + cos(w2*t);      %Original Signal&lt;br /&gt;
 &lt;br /&gt;
t1 = [0:Ts:2]; &lt;br /&gt;
xs = cos(w1*t1) + cos(w2*t1);   %Sampled points&lt;br /&gt;
 &lt;br /&gt;
w2s = w2 - ws; &lt;br /&gt;
x1 = cos(w1*t) + cos(w2s*t);    %Signal from Aliasing&lt;br /&gt;
&lt;br /&gt;
figure(1);                      %Plot&lt;br /&gt;
clf;&lt;br /&gt;
plot(t,y,&#039;k&#039;,t,x1,&#039;r&#039;); &lt;br /&gt;
hold on&lt;br /&gt;
stem(t1,xs);&lt;br /&gt;
hold off;&lt;br /&gt;
legend(&#039;Original Signal&#039;, &#039;Signal from Aliasing&#039;, &#039;Sampled Points&#039;);&lt;br /&gt;
xlabel(&#039;Time (s)&#039;);&lt;br /&gt;
ylabel(&#039;Amplitude&#039;); &lt;br /&gt;
title(&#039;Aliasing: Signal With Frequencies up to 3.66Hz Sampled at 5Hz&#039;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The figure above shows that if the original signal (black) is not sampled fast enough then another signal (blue) can be incorrectly &amp;quot;recovered&amp;quot; which passes through all the sampled points but is clearly not the same as the orignal signal. This incorrect signal from aliasing has correct frequency components for those components which are lower then half the sampling frequency. The components which are higher than half the sampling frequency end up with frequencies equal to the original signals&#039; frequency components minus the sampling frequency.&lt;br /&gt;
&lt;br /&gt;
It should be noted that other signals can be found that pass through each of the sampled points, but their incorrect frequency components will all have frequencies higher than the original signals&#039; highest frequency components. Thus, they can be easily filter out by a low pass filter.&lt;/div&gt;</summary>
		<author><name>Harrde</name></author>
	</entry>
</feed>