Skip to content

Commit 99e8dfb

Browse files
authored
Clarify inputs and outputs in the named feedback example
1 parent 4c73a23 commit 99e8dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ R = named_ss(ssrand(1, 1, 2, proper=true), x=:xR, u=:uR, y=:yR)
9999
C = named_ss(ssrand(1, 1, 2, proper=true), x=:xC, u=:uC, y=:yC)
100100
P = named_ss(ssrand(1, 1, 3, proper=true), x=:xP, u=:uP, y=:yP)
101101

102-
addP = sumblock("uP = yF + yC") # Sum node before P
102+
addP = sumblock("uP = yF + yC") # Sum node before P with inputs yF, yC and output uP
103103
addC = sumblock("uC = yR - yP") # Sum node before C (drawn as two arrows into C in the diagram)
104104

105105
connections = [
106-
:yP => :yP # Output to input
106+
:yP => :yP # P's output to addP's input
107107
:uP => :uP # addP's output is called the same as P's input
108108
:yC => :yC
109109
:yF => :yF

0 commit comments

Comments
 (0)