Skip to content

Commit e0c03f1

Browse files
committed
update DSP example
1 parent 83a2ee2 commit e0c03f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/reduction.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ The following example performs reduction with a frequency focus between frequenc
2323
using DSP
2424
w1 = 1e-4
2525
w2 = 1e-1
26-
wmax = 1
27-
fc = DSP.analogfilter(DSP.Bandpass(w1, w2, fs=wmax), DSP.Butterworth(2))
26+
fc = DSP.analogfilter(DSP.Bandpass(w1, w2), DSP.Butterworth(2))
2827
tfc = DSP.PolynomialRatio(fc)
2928
W = tf(DSP.coefb(tfc), DSP.coefa(tfc))
3029
rsys, hs = frequency_weighted_reduction(sys, W, 1)

0 commit comments

Comments
 (0)