- #1
rattma
- 4
- 0
Hi, Is the following notation correct?
X = {xt> max(xt-k,...,xt-1,xt+1,...,xt+k)|(t-k,...,t+k) ∈ T2k+1∧ k ∈ ℕ\{0}} where T = [1,n]∩ℕ denotes the time periods over which x runs.
I basically want to say that X is the set of points that are local maxima in a neighbourhood of k points to the right and left of each point. my query is that, for instance, for k=3 and t=2, the condition would actually be :
x2 > max(x1,x3,x4,x5)
and (x1,x3,x4,x5) is not a point in the space T7
Maybe a better option would be to write t-k,...,t+k ∈ T instead of (t-k,...,t+k) ∈ T2k+1 ...but it still seems unclear to me.
X = {xt> max(xt-k,...,xt-1,xt+1,...,xt+k)|(t-k,...,t+k) ∈ T2k+1∧ k ∈ ℕ\{0}} where T = [1,n]∩ℕ denotes the time periods over which x runs.
I basically want to say that X is the set of points that are local maxima in a neighbourhood of k points to the right and left of each point. my query is that, for instance, for k=3 and t=2, the condition would actually be :
x2 > max(x1,x3,x4,x5)
and (x1,x3,x4,x5) is not a point in the space T7
Maybe a better option would be to write t-k,...,t+k ∈ T instead of (t-k,...,t+k) ∈ T2k+1 ...but it still seems unclear to me.
Last edited: