diff --git a/docs/src/filters.md b/docs/src/filters.md index 05bb727fa..343efb9c2 100644 --- a/docs/src/filters.md +++ b/docs/src/filters.md @@ -27,19 +27,19 @@ power (`^`) for repeated mutlpilcation with itself. For example: ```jldoctest; setup = :(using DSP) julia> H = PolynomialRatio([1.0], [1.0, 0.3]) -PolynomialRatio{:z, Float64}(Polynomials.LaurentPolynomial(1.0), Polynomials.LaurentPolynomial(0.3*z⁻¹ + 1.0)) +PolynomialRatio{:z, Float64}(LaurentPolynomial(1.0), LaurentPolynomial(0.3*z⁻¹ + 1.0)) julia> inv(H) -PolynomialRatio{:z, Float64}(Polynomials.LaurentPolynomial(0.3*z⁻¹ + 1.0), Polynomials.LaurentPolynomial(1.0)) +PolynomialRatio{:z, Float64}(LaurentPolynomial(0.3*z⁻¹ + 1.0), LaurentPolynomial(1.0)) julia> H * H -PolynomialRatio{:z, Float64}(Polynomials.LaurentPolynomial(1.0), Polynomials.LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0)) +PolynomialRatio{:z, Float64}(LaurentPolynomial(1.0), LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0)) julia> H^2 -PolynomialRatio{:z, Float64}(Polynomials.LaurentPolynomial(1.0), Polynomials.LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0)) +PolynomialRatio{:z, Float64}(LaurentPolynomial(1.0), LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0)) julia> H^-2 -PolynomialRatio{:z, Float64}(Polynomials.LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0), Polynomials.LaurentPolynomial(1.0)) +PolynomialRatio{:z, Float64}(LaurentPolynomial(0.09*z⁻² + 0.6*z⁻¹ + 1.0), LaurentPolynomial(1.0)) ``` @@ -73,6 +73,7 @@ tdfilt tdfilt! resample ``` + ## Filter design Most analog and digital filters are constructed by composing @@ -101,7 +102,6 @@ include [`remez`](@ref) which designs equiripple FIR filters of all types, and [`iirnotch`](@ref) which designs a 2nd order "biquad" IIR notch filter. - ### [Filter response types](@id response-types) ```@docs @@ -146,6 +146,7 @@ FIRWindow ``` ### [Direct filter design methods](@id direct-design-methods) + ```@docs remez iirnotch @@ -207,4 +208,4 @@ passband cutoff frequency of 0.2, a stopband cutoff frequency of 0.4, ```julia (N, ωn) = ellipord(0.2, 0.4, 3, 40) -``` \ No newline at end of file +```