Professional Documents
Culture Documents
EE263: Introduction To Linear Dynamical Systems Review Session 1
EE263: Introduction To Linear Dynamical Systems Review Session 1
EE263: Introduction To Linear Dynamical Systems Review Session 1
Review Session 1
Outline
administrative information
examples
EE263 RS1
Administrative information
website: http://ee263.stanford.edu/
forum: https://piazza.com/stanford/autumn2014/ee263
email: ee263-aut1415-staff@lists.stanford.edu
EE263 RS1
Teaching assistants
Aditya Timmaraju
Reza Takapoui
Bobbie Chern
TA office hours:
Wednesdays 10am - 1pm Packard 104 (Aditya)
Thursdays
1pm - 4pm
Fridays
2pm - 5pm
EE263 RS1
Sections
Fridays 9-9:50am, Nvidia Auditorium
attendance optional
all notes posted
sessions are recorded
EE263 RS1
Homeworks
Policy
due Fridays 5 pm (EE263 bin, 2nd floor Packard)
no late hws accepted
graded roughly on a course scale 110
EE263 RS1
Matlab basics
http://www.mathworks.com/moler/intro.pdf
>> a = 1
a =
1
>> b = 1;
>> c = [1 2 3]
c =
1
2
3
>> c+2
ans =
3
EE263 RS1
5
6
>> d = [4;5;6]
d =
4
5
6
>> c*d
ans =
32
>> e = d.
e =
4
5
EE263 RS1
6
7
>> c.*e
ans =
4
10
18
>> A = [1 2; 3 4]
A =
1
2
3
4
>> A*[1;1]
ans =
3
7
EE263 RS1
>> t = 0:2:10
t =
0
2
EE263 RS1
10
9
Table as a matrix
nutrition chart
Nutrient
y1
..
ym
x1
0.50
..
2.05
Vegetable
x2
0.75
..
..
0.01
xn
0.9
..
0.45
10
Examples
x Rn
find A for which y = Ax is the running average of x, i.e.,
i
1X
xj ,
yi =
i j=1
i = 1, . . . , n
Solution.
y1
y2
. =
.
yn
EE263 RS1
1
0
0
0
1/2 1/2
0
0
1/3 1/3 1/3
0
..
..
..
..
1/n 1/n 1/n 1/n
0
..
...
1/n
x1
x2
..
xn
11
Examples
Creating A in Matlab
n=5;
A = zeros(n,n);
for i=1:n
A(i,1:i) = 1/i;
end
A
A =
1.0000
0.5000
0.3333
0.2500
0.2000
EE263 RS1
0
0.5000
0.3333
0.2500
0.2000
0
0
0.3333
0.2500
0.2000
0
0
0
0.2500
0.2000
0
0
0
0
0.2000
12
Examples (contd...)
what is y = Ax, with A = (1/n)11T ?
Solution.
1T x = x1 + + xn, the sum of the xi
(1/n)1T x is the average of the xi
y = (1/n)11T x is a vector of size n, with each component equal to the
average of the xi
EE263 RS1
13
M q + D q + Kq = f
q(t) Rk is the vector of deflections
f (t) Rk is the vector of externally applied forces
M, D, K Rkk are the mass, damping, and stiffness matrices,
respectively
EE263 RS1
14
q
q
0
M 1K
q=
EE263 RS1
I
M 1D
q
q
q
q
0
M 1
15
Polynomial evaluation
polynomial p(t) = a0 + a1t + a2t2 + + an1 tn1
points t1, . . . , tm R
yi = p(ti), i.e., p evaluated at points t1, . . . , tm
can write as y = T a:
y1
1 t1
y2 1 t2
. = . .
. . .
ym
1 tm
t1n1
tn1
2
a0
a1
.
.
. .
n1
an1
tm
EE263 RS1
16
EE263 RS1
17
(A )ij =
i and j
Pn
in general case, A
i and j
EE263 RS1
ij
18
0 otherwise.
what does y = Ax mean?
what does z = AT w mean?
what is AAT ?
EE263 RS1
19
EE263 RS1
20