Skip to content

Commit 153e2e5

Browse files
committed
fix another DSP deprecation
1 parent 8fb59ff commit 153e2e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/man/creating_systems.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,10 @@ Filters can be designed using [DSP.jl](https://docs.juliadsp.org/stable/filters/
497497
using DSP, ControlSystemsBase, Plots
498498
499499
fs = 100
500-
df = digitalfilter(Bandpass(5, 10; fs), Butterworth(2))
500+
df = digitalfilter(Bandpass(5, 10), Butterworth(2); fs)
501501
G = tf(df, 1/fs) # Sample time must be provided in the conversion to get the correct frequency scale in the Bode plot
502502
bodeplot(G, xscale=:identity, yscale=:identity, hz=true)
503+
vline!([5 10], l=(:black, :dash), label="Band-pass limits", sp=1)
503504
```
504505

505506
See also

0 commit comments

Comments
 (0)