From 8bbe813c2e92c0419a4af721bc89c7fed2ae6e13 Mon Sep 17 00:00:00 2001 From: Albin Heimerson Date: Mon, 31 May 2021 16:14:56 +0200 Subject: [PATCH] Use new lsim call with x0 as kwarg --- src/genplots.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/genplots.jl b/src/genplots.jl index bb03b55..7aa4f98 100644 --- a/src/genplots.jl +++ b/src/genplots.jl @@ -45,7 +45,7 @@ function getexamples() stepgen() = stepplot(sys, ts[end], l=(:dash, 4)) impulsegen() = impulseplot(sys, ts[end], l=:blue) L = lqr(sysss.A, sysss.B, [1 0; 0 1], [1 0; 0 1]) - lsimgen() = lsimplot(sysss, (x,i)->-L*x, ts, [1;2]) + lsimgen() = lsimplot(sysss, (x,i)->-L*x, ts; x0=[1;2]) margingen() = marginplot([tf1, tf2], ws) gangoffourgen() = begin