Skip to content

Commit

Permalink
Add two_in_one.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Apr 4, 2024
1 parent c4a2a37 commit 02238fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/two_in_one.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using ControlPlots
x=1.5*ones(11)
y=1:0.1:2
out=min.(x,y)
plt.plot(1:11, x, label="input_a")
plt.plot(1:11, y, label="input_b")
plt.plot(1:11, out, label="output")
plt.grid(true)
plt.legend()

0 comments on commit 02238fd

Please sign in to comment.