Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Initial((A, B, C, D), x0, T):
- ss = StateSpace(A, B, C, D)
- T = arange(0, 7, 0.001) # шаг построения
- x0 = array([1.0, 1.0, 1.0]) # начальные условия
- iss = initial(ss, T, x0)
- plot(iss[1], iss[0])
- title('initial() construction')
- xlabel('t, s.')
- ylabel('y(t)')
- grid(color='g', linestyle='--')
- show()
Advertisement
Add Comment
Please, Sign In to add comment