Skip to content

Commit 8f64328

Browse files
committed
improve docstring
1 parent a5de747 commit 8f64328

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/discrete_blocks.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,10 @@ end
948948
"""
949949
ExponentialFilter(a = 0.1)
950950
951-
Exponential filtering with input-output relation ``y(z) ~ (1 - a) y(z-1) + a u(z-1)``
951+
Exponential filtering (first-order filter) with input-output relation ``y(z) ~ (1 - a) y(z-1) + a u(z-1)``, transfer function
952+
```math
953+
Y(z) = \\dfrac{a}{1 - (1 - a) z^{-1}} U(z)
954+
```
952955
953956
# Parameters:
954957
- `a`: Filter parameter `[0, 1]`, a small value implies stronger filtering.

0 commit comments

Comments
 (0)