finished hw4 and imdterm
This commit is contained in:
parent
7f74985468
commit
be790819cc
BIN
ME_2046/HW4/Figure_1.png
Normal file
BIN
ME_2046/HW4/Figure_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
@ -54,6 +54,8 @@ sm.pprint(F)
|
|||||||
sm.pprint(G)
|
sm.pprint(G)
|
||||||
sm.pprint(A)
|
sm.pprint(A)
|
||||||
sm.pprint(B)
|
sm.pprint(B)
|
||||||
|
print(sm.latex(A))
|
||||||
|
print(sm.latex(B))
|
||||||
|
|
||||||
########################################################a
|
########################################################a
|
||||||
print("PROBLEM 4:")
|
print("PROBLEM 4:")
|
||||||
@ -61,7 +63,7 @@ print("bilinear transform")
|
|||||||
T = 0.2 # s
|
T = 0.2 # s
|
||||||
|
|
||||||
G_s = 10 / (s + 10)
|
G_s = 10 / (s + 10)
|
||||||
G_z = G_s.subs(s, 2 * (z - 1) / T * (z + 1))
|
G_z = G_s.subs(s, 2 * (z - 1) / T / (z + 1))
|
||||||
sm.pprint(G_z)
|
sm.pprint(G_z)
|
||||||
sm.pprint(G_z.simplify())
|
sm.pprint(G_z.simplify())
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user