Skip to content

Commit 8cf065e

Browse files
authored
Merge pull request #18 from JuliaControl/albheim-patch-1
Use new lsim call with x0 as kwarg
2 parents fb97f89 + 8bbe813 commit 8cf065e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/genplots.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function getexamples()
4545
stepgen() = stepplot(sys, ts[end], l=(:dash, 4))
4646
impulsegen() = impulseplot(sys, ts[end], l=:blue)
4747
L = lqr(sysss.A, sysss.B, [1 0; 0 1], [1 0; 0 1])
48-
lsimgen() = lsimplot(sysss, (x,i)->-L*x, ts, [1;2])
48+
lsimgen() = lsimplot(sysss, (x,i)->-L*x, ts; x0=[1;2])
4949

5050
margingen() = marginplot([tf1, tf2], ws)
5151
gangoffourgen() = begin

0 commit comments

Comments
 (0)