Home / Math and Physics Files / Math / Spectral Theory Book / Work for Aug 2013 Update / App F on repeated seq
averages_REVD
DOCX · 125.0 KB
Open DOCX file
A working note by Phil dated 7/23/13, reviewing Appendix F on repeated pulse-train sequences. He tries to rewrite the power spectrum double sum in terms of the horizontal average <...>1 using periodicity and diagonal sums, finds a phase error, and concludes the vertical (ensemble) and horizontal averages are unrelated. He corrects a wrong claim in App F and restates the results (F.52) for an ensemble and for a single MLS sequence, noting the autocorrelation method is needed.
AI-written summary; may contain errors.
Extracted text (machine-read; may contain errors)
Meaning of averages PhL 7.23.13
Review of this doc. We are in the context of Appendix F on repeated sequences.
1. I look first at the usual P(ω) formula for a single pulse train with its ymyn double sum DS. I try to make the horizontal <...>1 average appear in it. I do not succeed, there is no connection. The vertical (not used here) is the ensemble average <..>, the horizontal is over one pulse train <...>1.
2. I try to make use of the periodicity of the ym in evaluating the DS. I draw some diagonal lines pictures and think I am able to show that
DS/P2 = (1/P) !Syntax Error, I e-iωsT < amam+s>1
But then I realize a math error and this is not valid, the diagonal lines method does nothing useful.
3. Summary to this point: I cannot relate DS to <...>1 average, so I cannot state P(ω) for single MLS sequence in terms of <...>1. But I know the WK method with R"(z) allows this to somehow happen.
4. I ask: is <ynyn+s> independent of n? and same question for <yn>? Here I ponder this question and conclude that in general, these things DO depend on n. But is there some "statistical" ensemble for which they do not depend on n? These <...> are the vertical averages over the ensemble. For a (0,1) symbol pulse train, saying <yn> = p says all <yn> are the same, not <yn> = pn. The function p(x) here is so simple because only two values, so p(x) is this one constant.
I continue to play and conclude that the vertical and horizontal averages are really unrelated. And here I find a wrong statement made in App F and I correct it. I realize that the "autocorrelation method" can find P(ω) for a single sequence, and there is no other way to do that calculation. My respect for the autocorrelation function increases.
________________________________________________________________________________
The time has come to clear things up.
Starting point from App F is this
P(ω) = Ppulse(ω) ω1 !Syntax Error, I δ(ω - ω1m/P) !Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T (F.24)
1. Let's try to cause <..>1 to appear here
DS = !Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T = S = !Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T θ(m)θ(n)θ(P-1-m) θ(P-1-n)
Let s = n-m so n = m+s,
DS = !Syntax Error, I !Syntax Error, I ymym+s e-iωsT θ(m)θ(m+s)θ(P-1-m) θ(P-1-[m+s])
DS = !Syntax Error, I θ(m) θ(P-1-m) !Syntax Error, I ymym+s e-iωsTθ(m+s) θ(P-1-[m+s])
DS = !Syntax Error, I !Syntax Error, I ymym+s e-iωsTθ(m+s) θ(P-1-[m+s])
DS = !Syntax Error, I !Syntax Error, I ymym+s e-iωsT
Try different path
DS =!Syntax Error, I !Syntax Error, I ymym+s e-iωsT θ(m)θ(m+s)θ(P-1-m) θ(P-1-[m+s])
DS =!Syntax Error, I e-iωsT !Syntax Error, I ymym+s
None of these forms helps me much. I cannot write anything as a horizontal sum over the sequence.
2. BUT, let's try to use the periodicity idea
Here is our sum of interest:
!Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T
The picture below left represents adding 9 terms, but I don't show the phases which depend on s = n-m. Since the ai are periodic with period 3, I can redraw the 9 terms this way
The diagonal lines are those of constant s. On the left, for each value of s, there were a variable number of terms to add, ranging 1,2,3. But on the right each s line has exactly 3 = P terms.
s = n-m so n = m+s
DS = !Syntax Error, I !Syntax Error, I an am eiω(m-n)T = !Syntax Error, I !Syntax Error, I am+s am e-iωsT
In the sum on the right, there will be a term a4a2 when m = 2 and s = 2. This is really a1a2. So as long as you know about the periodicity, you CAN write the sum as I show it. Once again
!Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T = !Syntax Error, I e-iωsT ( !Syntax Error, I am am+s )
I think now we are getting somewhere. The sum on the right is my horizontal pincer sum where you move the left end to all possible positions m = 0,1,2...P-1 and you sum the products.
Now how about this
!Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T = (1/P) !Syntax Error, I e-iωsT [ (1/P) !Syntax Error, I am am+s ]
= (1/P) !Syntax Error, I e-iωsT < amam+s>1
I have finally found a path to <..>1. So now our double sum is a single sum over these pincer sums for individual values of s.
Fact: Suppose you are dealing with a periodic sequence which has this horizontal average property
< amam+s>1 = β s = NP = <an2>1
< amam+s>1 = α s ≠ NP
which I think the MLS sequence does have! Then we have
!Syntax Error, I e-iωsT < amam+s>1 = β + α !Syntax Error, I e-iωsT
Now let x = e-iωT and use the little TK rule
!Syntax Error, Ixs = [ xP - x ] / (x-1) = [ e-iωPT - e-iωT ] / [e-iωT - 1]
I thought this had to be real. Here let k = ωT1, then the sum is
[ e-ikP - e-ik ] / [e-ik - 1]
I set P = 7 and k = 1.3 Maple shows this thing is not real:
So how did I start with | Y"P(z)|2 which must be real and end up with something not real ???
Go back to
I took the term (and recall that s does e-iωsT )
anam eiω(m-n)T = a0a2 eiω(2-0)T which has s = -2 (as picture shows)
and I replaced that term with
anam eiω(m-n)T = a0a2 e-iω2T which has s = +2.
Thus, because of the phases, the above method does not work! I have altered the sum, and that is why it is no longer real.
3. What I have learned so far:
Consider,
P(ω) = Ppulse(ω) ω1 !Syntax Error, I δ(ω - ω1m/P) !Syntax Error, I !Syntax Error, I ymyn eiω(m-n)T (F.24)
I have been unable to write the double sum in terms of the horizontal pincer average < ymyn>1. I thought last night this might be possible, and today I did due diligence above trying to find a way.
What do I know for an MLS sequence?
yn2 = either 0 or 1
I cannot seem to apply F.24 above to a single MLS sequence! But somehow the R"(z) method allows me to do it. That is my Big Mystery.
4. Consider this App F claim about dependence of things on n.
From now on we assume that the ym are real. Back in (F.25) we made the assumption that
<ymyn> = α for m ≠ n s < | m-n |
<ymyn> = β for m = n (F.25)
where <...> were ensemble averages. Here we are going to make the much stricter assumption that (F.25) is true for each individual sequence in the ensemble. Then we have
<ymyn>1 = α for m ≠ n s < | m-n |
<ymyn>1 = β for m = n (F.42)
If (F.42) is true, then certainly (F.25) is true.
Let's see if this claim is really true:
<ynyn+s> = (1/I) Σi=1I yn(i)yn+s(i) (1)
<ynyn+s>(i)1 = limN→∞ [!Syntax Error, Iyn(i)yn+s(i) ] (2)
Lots of issues here. First, is (1) independent of n ? I ask this question somewhere, but I am not sure I liked my answer. Similar question is this: is <yn> independent of n ?
<yn> = (1/I) Σi=1I yn(i) (3) for an ensemble of sequences
<yn>1 = limN→∞ [!Syntax Error, Iyn ] (4) for a single sequence
Item (4) shows n as a dummy summation index so <yn>1 is clearly not dependent on n. It is the average of all the symbols in an infinite sequence, cannot possibly depend on n.
The (3) item is less clear. It is a vertical average through the ensemble, all at position n. You must de facto add an assumption that all pulse train positions are "the same" in some sense.
Suppose the sequence yi were a set of drop times for a ball in a box (pulse), but the boxes have different gravity. Then the pulses in such a pulse train have something that distinguishes them, and then an object like <yn> = the average of ball drop times might depend on n. Somehow we want to claim this:
Assumption: All positions in an infinite pulse train are indistinguishable
Corollary: <y3> = <y5>
This is WRONG. Here is my new fact
Fact: The ensemble average <yn> might depend on n for certain ensembles.
Proof: By "ensemble" I mean some set of sequences I choose. I could choose a set that has 0's in column m and 1's in column n and then <ym> = 0 and <yn> = 1 and clearly <ym> ≠ <yn>. Also:
Fact: The ensemble average <yn2> might depend on n for certain ensembles.
Fact: The ensemble average <ynyn+s> for a fixed value of s might depend on n for certain ensembles. Thus, for some arbitrary ensemble, <ynyn+s> is a function of both n and s.
This seems to say my notion of "all positions are indistinguishable" has no meaning at all, it is hot air.
Let's try to find some ensembles for which the claim is true.
"Statistical Ensemble" of pulse trains.
The symbols are called yn(i) for ith sequence in the ensemble, and position n. Suppose they are all AMI sequences, for example.
I would like to claim that in a random or statistical ensemble of pulse trains the probability of any symbol being a 1 is p and later perhaps p = 1/2. Look at the ensemble, pick a bit in some sequence. That bit is in a vertical column. For that column, we have <yn> = p. These could still be AMI sequences, however. But at least in this case, we have <yn> not depending on n, so I have been able to locate one example.
What might we say horizontally? Suppose we have a random sequence but every 7th bit is a 1. Then consider <anan+7>1. Except on the special bits, probably this will be something like p2, but for the special bits it will peak at 1, and so <anan+7>1 will depend on n for such an ensemble. [ It will be p2 of the two positions are uncorrelated, Yn and Yn+7 ]
If we have a periodic sequence of period 7, then <anan+7>1 = 1 for all n.
Lesson: Be very careful what ensemble you have in mind and also what kinds of sequences you have in mind. I think for a random ensemble of AMI sequences, <anan+s> depends on s and not on n.
Now go back to the assumptions stated above
<ymyn>1 = α for m ≠ n s < | m-n |
<ymyn>1 = β for m = n (F.42)
Let's write it as
<yn yn+s>1 = α s = NP
<yn yn+s>1 = β s ≠ NP (F.44)
Suppose this really were true for a particular sequence i, so that:
<yn(i) yn+s(i)>1 = α s = NP
<yn(i) yn+s(i)>1 = β s ≠ NP (F.44)
It claims no dependence on n. Suppose this were true for every sequence in an ensemble of I sequences. Then consider this column average
< yn yn+s > = (1/I) Σi=1I yn(i) yn+s(i)
I don't think there is any connection !! Suppose in column n of the sequences all bits are contrived to be 0. Then < yn yn+0 > = 0 for particular column n. But that would not rule out (F.44) above. Each sequence might be the same MLS sequence and I have just shifted them to get a column of zeros. So
Fact: <yn(i) yn+0(i)>1 = β for each sequence i in an ensemble ⇏ < yn yn+0 > = β .
The reason is that one average is vertical and the other is horizontal and they are just different animals. That means
Fact : (F.44) ⇏ (F.25)
So this statement I made in App F is wrong. So go try to clean that up. I have made red my strange paragraph about uncorrelated, will return to it later. Nothing until down in (e) with the R"(z) business.
OK, I have repaired Appendix F (I think). Here are my conclusions there:
If
<ymyn> = α for m ≠ n s < | m-n |
<ymyn> = β for m = n (F.25)
then // ensemble
<P(ω)> = Ppulse(ω) ω1 !Syntax Error, I[ (β-α) δ(ω - ω1m/P) + α δ(ω - ω1m) ] (F.52)
_________________________________________________________________________________
If
<yn yn+s>1 = α s = NP
<yn yn+s>1 = β s ≠ NP (F.44)
then // single sequence
P(ω) = Ppulse(ω) ω1 !Syntax Error, I[ (β-α) δ(ω - ω1m/P) + α δ(ω - ω1m) ] (F.52)
Question: Why is the "autocorrelation method" able to get this single-sequence result, whereas I cannot seem to achieve this result without use of the autocorrelation function???
This is just the way it is, so I will soften my comments in FT and Scrambler about autocorrelation.