Skip to content

Commit f91bd3b

Browse files
committed
add hint to include input disturbance
1 parent 8ac8e8b commit f91bd3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lqg.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,11 @@ Gcl2 = connect([G, K, S], connections; z1, w1)
476476
@test linfnorm(minreal(Gcl1 - Gcl2.sys))[1] < 1e-10 # They are the same
477477
```
478478
479+
To include also an input disturbance, use
480+
```
481+
Gcl = feedback(K, P, W2=:, Z2=:, Zperm=[(1:ny).+nu; 1:nu]) # y,u from r,d
482+
```
483+
479484
See also [`extended_gangoffour`](@ref).
480485
"""
481486
function feedback_control(G, K)

0 commit comments

Comments
 (0)