Displaying 1 result from an estimated 1 matches for "ineffectiv".
Did you mean:
ineffective
2011 Jul 29
2
special recursive filter
Hi,
I have a question about a special recursive filter problem.
What I have:
- given variables:
x: time series with rather randomly occuring '0' and '1'
wait: non negative integer
- a working but ineffectiv implementation (see below)
How the implementation works (what I want):
The filter should drill holes of distance 'wait' between the '1' in x, e.g.
x = 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1
wait = 2
desired result:
result = 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1
working implementation:
#****...