ECE2025
Solution for Lab#1
Prepared by Brett Matthews
3. Laboratory: Plotting Exponentials and Sinusoids with MATLAB
3.1 (a) Generate a time vector, tt_1_N, and ensure that there are at least 50 samples per each
sinusoidal period.
radians 1 periods sample
Lab 7 Solutions
Fall 2010
Prepared by Brett Matthews
4.1 Edge Detection via 1-D Filters
4.1 (a) Plot both the input and the output waveforms x[n] and w[n] on the same figure.
Code Snippet below. See "Part 4.1(a)" in "Lab7_part_4_1()" in the Appendix for f
ECE2025
Solution for Lab#1
Prepared by Brett Matthews
3. Laboratory: Plotting Exponentials and Sinusoids with MATLAB
3.1 (a) Generate a time vector, tt_1_N, and ensure that there are at least 50 samples per each
sinusoidal period.
radians 1 periods sample
GeneralInformation
ECE2025
Spring2012
t-square: OFFICIAL ANNOUNCEMENTS
LECTURE#6
PeriodicSignals,Harmonics&Time
VaryingFrequency
Old Quizzes & Problems are part of the huge
database on the SP-First CDROM website (linked on
t-square)
Quiz #1 on 6-Feb (M
ECE2025
Solution for Lab#3
Prepared by Brett Matthews
3.1 To debug the problem.
Use the command dbstop if error.
> dbstop if error
> [xn,tn] = coscos(2,3,20,1)
? Error using => times
Matrix dimensions must agree.
Error in => coscos at 8
xx = cos1 .* cos2;
ECE2025
Solution for Lab#4
Prepared by Brett Matthews
3.1 Beat Control GUI
> beatcon
3.2 Function for a Chirp
function [xx,tt] = make_chirp( f1, f2, dur, fsamp )
%MAKE_CHIRP generate a linear-FM chirp signal
%
% usage: xx = make_chirp( f1, f2, dur, fsamp
GEORGIA INSTITUTE OF TECHNOLOGY
SCHOOL of ELECTRICAL and COMPUTER ENGINEERING
ECE 2025 Spring 2012
Lab #9: Poles, Zeros and GUI for Filter Design
Date: 26-29 March 2012
Pre-Lab: You should read the Pre-Lab section of the lab and do all the exercises in th
GEORGIA INSTITUTE OF TECHNOLOGY
SCHOOL of ELECTRICAL and COMPUTER ENGINEERING
ECE 2026
Fall 2012
Lab #1: Waveform Plotting, and Reading, Recording and Writing Signals
Date: 27 30 August 2012
All labs are held in room 2440 of the Klaus building. Your GT lo
GEORGIA INSTITUTE OF TECHNOLOGY
SCHOOL of ELECTRICAL and COMPUTER ENGINEERING
ECE 2026
Fall 2012
Lab #0: Introduction to MATLAB
Date: 20 24 August 2012
Important Note: This is the first lab of the semester and is mainly to guide you through the MATLAB too
GEORGIA INSTITUTE OF TECHNOLOGY
SCHOOL of ELECTRICAL and COMPUTER ENGINEERING
ECE 2025
Spring 2012
Lab #7: FIR Filtering of Digital Images
Date: 5-8 March 2012
The lab report for this week will be an Informal Lab Report. The report will be due during the
ECE2025
Introduction to Signal Processing
Synthesis of Sinusoidal Signals A
Musical Illusion (Lab #5)
Solutions Prepared by:
Brett Matthews
A Musical Illusion [Lab #05, Part 4]
Synthesizing a C-Major Scale [Parts 4(a) and 4(b)]
In all experiments, we will
% Ryan Odari
% Lab # 02
% ECE-20226
%
% zvect: Plot vectors in complex z-plane from zFrom to zTo
% common usage: zvect(Z) displays each element of Z as an arrow emanating from
the origin.
% usage:
HV = zvect(zFrom, <zTo>, <LTYPE>, <SCALE>)
% zFrom: is a v
Georgia Institute of Technology
ECE 2026 - Key concepts #1
Fall 2015
1
Sinusoid
A sinusoid is a signal of the form
x (t) = A cos (t + ) = A cos (2f t + ) = A cos
2
t +
T
A > 0 is the magnitude
> 0 is the angular frequency in rad.s-1
f > 0 is the freque
Georgia Institute of Technology
ECE 2026 - Key concepts #3
Fall 2015
Phasors
Consider a sinusoid x in canonical form x(t) = A cos(t + ). The phasor of x is Xe jt where X , Ae j
is the complex amplitude. Note that the complex amplitude is the phasor at tim
Georgia Institute of Technology
Recitation 5
Thursday September 17th, 2015
Easy F
Medium FF
Hard FFF
Problem 1 (FF Simultaneous equations)
Solve the following simultaneous equations by using the phasor method. Is the answer for A1 , A2 , 1 , 2
unique ? Pr
% Ryan Odari
% ECE-2026 Semester:Spring-2016 Assignment: Lab-HW-9 Due Date: 03/10/2016
% Part a)
clear all
close all
% Set our initial omega and delta passband and stopband values
wp = 0.60;
ws = 0.64;
dp = 0.05;
ds = 0.01;
fs = 2;
[N,Fo,Ao,W] = firpmord(
GEORGIA INSTITUTUE OF TECHNOLOGY
SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING
ECE 2026
Fall 2015
Problem Set #1
Assigned: 20 August 2015
Due: Week of August 31, 2015 (during recitation)
Reading: SP First: Appendix A on Complex Numbers; Ch. 2 on Sinusoids
Georgia Institute of Technology
ECE 2026 Recitation - Section L08
Fall 2015
Instructor
Dr. Matthieu Bloch
K
T
B
U
TSRB 442 (4th floor, NE corner)
404 385 4825
[email protected]
Wednesday 8:30am-10am
Recitation website piazza.com/gatech/fall201
% Ryan Odari
% ECE-20226 Semester: Spring-2016
Assignment: Lab-HW-5
Due Date: 02/25/2016
% 5.1) Print out of spectrum showing the vowel region
clear all
close all
[xx,fs]=audioread('myrecording.wav'); % read the audio file
T_length=0.20;
T_sect=T_length;
Georgia Institute of Technology
Sampling and Aliasing
Thursday October 8th, 2015
Easy F
Medium FF
Hard FFF
Problem 1 (F Over-sampling or under-sampling ?)
Let x(t) = 7 sin(11t). In each of the following parts, the discrete time signal x[n] is obtained by
Georgia Institute of Technology
Recitation 2
Thursday August 27th, 2015
Easy F
Medium FF
Hard FFF
Problem 1
Solve the following complex number problems.
(a) Find real numbers p and q such that the following equation is true.
p
= 10e j 4
q + j5
(b) Find re
% Ryan Odari
% ECE-20226
Semester: Spring-2016
Assignment: Lab-3 HW
Due Date: 02/11/2016
% Part 4.1: Beat Note Spectrogram (Write your code and cut and paste the
spectrogram below)
%prepare structure with initial beat signal
clear all
testingBeat.Amp = 50
Georgia Institute of Technology
Recitation 1
Thursday August 20th, 2015
Easy F
Medium FF
Hard FFF
Problem 1
Convert the following numbers to polar form.
(a) z = 2
(d) z = (8j)3
1
3
(b) z = j
2
2
1
3
j )4
(e) z = (
2
2
2
2
(c) z =
j
2
2
1
1
(f) z = ( j )
Info:Lab,HW,etc.
ECE2025
Spring2012
Quiz 2 will be returned this week
Mean = 72.68, Std = 15.77
Lecture#14
DigitalFilteringofAnalogSignals
Lab #7 starts from today
Filtering images, conv2
Course Objective
SchoolofElectrical&ComputerEngineering
Georgi
READINGASSIGNMENTS
ECE2025
Spring2012
This Lecture:
Chapter 7, Sects 7-1 through 7-5
Lecture#15
ZTransforms:Introduction
Other Reading:
Recitation: Ch. 7
CASCADING SYSTEMS
SchoolofElectrical&ComputerEngineering
GeorgiaInstituteofTechnology
Next Lect
Info
ECE2025
Spring2012
HW 9 due after spring break @ recitation
Lab 8 begins today: hearing test
Quiz 2:
Lecture#16
ZerosofH(z)andthe
FrequencyDomain
Grading faculty: announced on t-square
Resolve grading issues by Friday (L2 and L4:
check with Prof
Georgia Institute of Technology
ECE 2026 - Key concepts #6
Fall 2015
Fourier analysis
Fourier analysis is the operation that consists in finding the two-sided spectrum of a signal x.
1. If the signal x is expressed in terms of sinusoids, the two-sided spe