Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE 220
Problem Lab #2
Solutions
Getting Practice with MATLAB
Signals, writing simple functions, complex numbers
Date: Week of February 3rd, 2014
The goal of this lab is to write simple MATLAB scripts to display basic signals and complex
numbers.
Lab Text
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE 220
Problem Lab #1
Solutions
Getting Practice with MATLAB
Signals, Operations on Signals
Date: Week of January 27, 2014
The goal of this lab is to write simple MATLAB scripts to display basic signals and to do some
of the operations on them.
Lab Text
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Fall 2012
ECE 220
Problem Lab #1 Solutions
1
The concept of Time Scaling
1. Go to the TIME SCALE subdirectory (in the problem labs directory
in the course locker). Copy the two les in that directory into your
workspace.
2. Run the MATLAB GUI scale.m by typing scale
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Fall 2014
ECE 220
Problem Lab #2
Solutions
Getting Practice with MATLAB
Signals, writing simple functions, complex numbers
Date: Week of September 15, 2015
The goal of this lab is to write simple MATLAB scripts to display basic signals and complex
numbers.
Lab Text
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2009
i
ECE220 Homework Assignment #2 Solutions
Problem 3.18. For safety reasons, electrical devices limit the output voltage vout (t) to a maximum allowed value A, regardless of the value of the input voltage vin (t). Mathematically, we can represent su
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #2 Solution
Vectors, Matrices, and Linear Equations
Date: Week of January 29, 2007
The main goal of this lab is to give you practice on vectors, matrices and linear
equations. You will have an opportunity to see how this stuff is used i
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Homework #7 Solutions
Solution to Problem 8.1
V
(s)
Z 1
=
6t
4e
Z 1
st
os(7t)u(t)e
dt
0
=
4
0
=
4
=
2
(s+6)t
e
12
Z 1
Z 1
2(
=
2(
=
2
(s+6)t
e
(e
(s+6
(s+6
e
7j )t
7j )
1
s
j 7t
j 7t
+e
+6
(s+6+7j )t
+e
7j )t
(s + 6
s
(e
)dt
0
0
=
os(7t)dt
+
7j
(
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Homework #8 Solutions
Solution to Problem 8.14
dv (t)
+ 6v (t) = 20 os(4t)u(t)
dt
Take Laplae Transforms of both sides, we have
sV (s)
v (0) + 6V (s) =
20s
s + 42
2
add v (0) in both sides and plugin v (0) = 100, we have
V (s) =
100
20s
+
2
2
(s +
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Homework #5 Solutions
Solution to Problem 7.5
Given
dv (t)
+ 2:0 106 v (t) = 10u(t); v (0) = 0
dt
(1)
(a) We obtain the omplementary solution v(t) by setting the driving fore (10u(t) to
zero: dvdt (t) + 2:0 106 v (t) = 0
Put the v (t) terms to the
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #6
Review for Test 2
Date: Week of March 12, 2007
The goal of this lab is to review material in preparation for Test 2.
Work out as many problems as you can. If you have worked on a problem before,
you may skip it. Do not worry if you d
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #2
Vectors, Matrices, and Linear Equations
Date: Week of January 29, 2007
The main goal of this lab is to give you practice on vectors, matrices and linear equations.
You will have an opportunity to see how this stuff is used in fields
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220 Problem Lab Test Solution
Date: 8 November 2006
I. Complex numbers and functions (25 points)
1. Let z = 2.75e j / 9 and w = 1.23 j 3.62 . Use Matlab to compute
e j 9002.5
4.01z + w
z2
in both Cartesian and exponential formats.
MATLAB program instru
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220, Problem Lab Test
Spring 2007
Instructions: You have one hour and 40 minutes to complete the test. You cannot use books,
notes or calculators. Do not talk to anyone else during the test. If you have a question, ask the TA.
The only application on y
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #5
Using MATLAB as a tool in
First Order Differential Equations
Date: Week of February 26, 2007
The goal of this lab is to summarize and reinforce all the methods we presented in chapter
7, about solving first order differential equatio
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #1
Getting practice with MATLAB,
periodic signals and mathematical background skills
Date: Week of January 22, 2007
The goals of this lab are to: (a) make sure you are up to speed with the required/assumed
math background, (b) get some
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #4
Using MATLAB as a tool
in answering complicated questions
Date: Week of February 19, 2007
The goal of this lab is to demonstrate how you can use MATLAB to visualize seemingly
complicated (engineering or mathematical) questions.
Feel
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #08
Laplace Transforms and Fourier Series
Date: Week of April 9, 2007
The purpose of this lab is to acquaint you with calculation/plotting of Laplace Transforms
and Fourier series in Matlab.
Work out as many problems as you can. If you
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220 Problem Lab Test
Date: 8 November 2006
Instructions: You have one hour and forty five minutes to complete the test. You cannot
use notes, books or calculators. Do not talk to anyone else during the test. If you have a
question, ask the TA. The only
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE220
Problem Lab #3
Getting Practice complex numbers and functions
Date: Week of February 5, 2007
The goal of this lab is to (a) give you working experience with basic complex number manipulations, and, (b) familiarize you with MATLAB commands we use in
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE 220
Problem Lab #3
Solutions
Getting Practice with MATLAB
Plotting Complex Functions
Date: Week of February 4th, 2013
The goal of this lab is to write simple MATLAB scripts to graph magnitude and phase spectra of
complex functions.
Lab Text File: Open
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
Shanzila Hoque Chowdhury
ECE 220
Problem Lab 5
I have scanned my solution and attached it here. But I have also attached images of the solution at the
end, if the scanned ones are hard to read.
Images:
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE 220, Section 051
Test 1
June 16, 2006
Instructions: Do not turn your test over until instructed
by a proctor.
Name:
Section:
Answer all questions on the test pages that you are given. In order to receive partial credit,
you must give sufficient detail
Analytical Foundations of Electrical and Computer Engineering
ECE 220

Spring 2014
ECE 220, Summer Section 051
Test #2
Friday July 22, 2005
Please read all questions before beginning. Show ALL work. Write as much as
you can for each question, and please check your work. Do not use the phrase
and then a miracle occurs. Read the direction