Skip to content

Commit

Permalink
Notes on minumum time steps needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Feb 13, 2015
1 parent 8f13c3e commit 435b1d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/direct_identification.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ def identify(self):
"""

# Ax = b
# A : N, n
# b : N, m
# (N x n) (n x m) = (N x m)
# (N x n) (n x 1) = (N x 1) you can do them one at a time
# so at least n time steps are required

res = lstsq(-self.state_traj, self.input_traj,
overwrite_a=self.copy, overwrite_b=self.copy,
check_finite=self.check_finite)
Expand Down

0 comments on commit 435b1d5

Please sign in to comment.