Skip to content

Commit 307750a

Browse files
committed
Return state space system
1 parent e7a8bba commit 307750a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mwes/mwe_02.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,12 @@ end
7777

7878
A = finite_jacobian(x -> motor_dynamics(x, u0), x0)
7979
B = finite_jacobian(u -> motor_dynamics(x0, u), u0)
80+
C = [1.0]
81+
D = [0.0 0.0]
82+
83+
using ControlSystemsBase
84+
85+
sys = ss(A, B, C, D)
86+
8087

8188

0 commit comments

Comments
 (0)