Skip to content

Commit 61b9eae

Browse files
authored
fix equations in algorithm.md
1 parent eb2e4fc commit 61b9eae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

doc/algorithm.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ ADC signal ───┬───►│ detect first ├───►│ calculate
109109

110110
The impulse response of the low-pass filter is a triangle shape where the length of the triangle
111111
defines the cut-off frequency of the filter and [can be approximated](https://dsp.stackexchange.com/questions/9966/what-is-the-cut-off-frequency-of-a-moving-average-filter)
112-
with
113-
<br/><img src="https://render.githubusercontent.com/render/math?math=N = \frac {\sqrt{0.196202 + F_{co}^2}}{F_{co}}">,
114-
where <img src="https://render.githubusercontent.com/render/math?math=F_{co}"> is the cut-off
115-
frequency and N is the length of the impulse response.
112+
with $\frac {\sqrt{0.196202 + F_{co}^2}}{F_{co}},$ where $F_{co}$ is the cut-off frequency and N is the length of the impulse response.
116113

117114
Further testing showed that it is important to use the very first peak in time for positional sensing. If
118115
a later peak is used, the positional sensing based on the low-pass filtered signal does not yield

0 commit comments

Comments
 (0)