DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Big K - laying the ghost to rest

Started by gareth ●February 26, 2015
On 2/26/15 10:20 PM, rickman wrote:
> On 2/26/2015 4:55 PM, robert bristow-johnson wrote: >> On 2/26/15 4:12 PM, gareth wrote: >>> "rickman"<gnuarm@gmail.com> wrote in message >>> news:mco1iv$lh3$2@dont-email.me... >>>>> Yes, lools like another booboo on my part, but you are only >>>>> partially correct in that the reference should be f(nT), the >>>>> instantaneous >>>>> value at the sampling instant. >>>> >>>> That is not right. It is f(t) which is the original function you are >>>> sampling. >>> >>> No, f(nT) is correct because the value of f(t) at the beginning >>> of the sampling pulse is retained, and the value of f(t) during >>> the rest of the pulse is irrelevant. >>> >> >> >> he might have something there, Rick. we know that >> >> >> SUM{ x(t) delta(t-nT) } >> n >> >> >> is the same as >> >> >> SUM{ x(nT) delta(t-nT) } >> n >> >> .. > > I think I have learned my lesson and won't be trying to coax a rational > explanation from the OP any longer. But I'm a bit confused now. He > originally said the multiplication was a scalar multiply rather than a > convolution of the two series. I think that is not workable. > > (-inf, inf) > sum {d(t-nT) * f(t) } > n > > I believe this is the correct equation for a sampled signal, no?
it is. if you were to brick-wall LPF that thing with a cutoff frequency of 1/(2T) and a passband gain of 1, your resulting f(t) would be scaled by 1/T. that is why i like to put a T in front of that thing. now, like everyone else, i cannot normally decode what Gareth (a.k.a. Beanie) says, but i just want to say that your expression above is equivalent to (-inf, inf) sum {d(t-nT) * f(nT) } n that is because f(t) * d(t) is the same as f(0) * d(t) the Dirac delta doesn't give a rat's ass what the values of f(t) are except for when t=0.
> But > contrary to what Gareth is saying both d and f are continuous functions > over t and the * indicates correlation producing another continuous > function. Each of these functions have just one point with a value that > is not zero at times corresponding to nT. The summation of these > functions results in a signal with non-zero values only at times nT. > > I looked up Dirac Comb which is another way of doing the same thing. > First perform the summation of the Dirac function d(t-nT) over n and > then convolve with f(t). > > Do I have this right?
i think so. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
On 2/26/15 10:48 PM, robert bristow-johnson wrote:
> On 2/26/15 10:20 PM, rickman wrote: >> >> I looked up Dirac Comb which is another way of doing the same thing. >> First perform the summation of the Dirac function d(t-nT) over n and >> then convolve with f(t). >> >> Do I have this right? > > i think so. >
whoops. i think i missed it here. no, that statement is *not* right. it's multiplication of f(t) with the Dirac comb (which is the summation of the Dirac function d(t-nT)), not convolution of f(t) with the Dirac comb. so, you didn't get that right. (and neither did i. sometimes i think i read something carefully when i didn't.) -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
On 2/26/2015 10:48 PM, robert bristow-johnson wrote:
> On 2/26/15 10:20 PM, rickman wrote: >> On 2/26/2015 4:55 PM, robert bristow-johnson wrote: >>> On 2/26/15 4:12 PM, gareth wrote: >>>> "rickman"<gnuarm@gmail.com> wrote in message >>>> news:mco1iv$lh3$2@dont-email.me... >>>>>> Yes, lools like another booboo on my part, but you are only >>>>>> partially correct in that the reference should be f(nT), the >>>>>> instantaneous >>>>>> value at the sampling instant. >>>>> >>>>> That is not right. It is f(t) which is the original function you are >>>>> sampling. >>>> >>>> No, f(nT) is correct because the value of f(t) at the beginning >>>> of the sampling pulse is retained, and the value of f(t) during >>>> the rest of the pulse is irrelevant. >>>> >>> >>> >>> he might have something there, Rick. we know that >>> >>> >>> SUM{ x(t) delta(t-nT) } >>> n >>> >>> >>> is the same as >>> >>> >>> SUM{ x(nT) delta(t-nT) } >>> n >>> >>> .. >> >> I think I have learned my lesson and won't be trying to coax a rational >> explanation from the OP any longer. But I'm a bit confused now. He >> originally said the multiplication was a scalar multiply rather than a >> convolution of the two series. I think that is not workable. >> >> (-inf, inf) >> sum {d(t-nT) * f(t) } >> n >> >> I believe this is the correct equation for a sampled signal, no? > > it is. if you were to brick-wall LPF that thing with a cutoff frequency > of 1/(2T) and a passband gain of 1, your resulting f(t) would be scaled > by 1/T. that is why i like to put a T in front of that thing. > > now, like everyone else, i cannot normally decode what Gareth (a.k.a. > Beanie) says, but i just want to say that your expression above is > equivalent to > > (-inf, inf) > sum {d(t-nT) * f(nT) } > n > > > that is because > > f(t) * d(t) > > is the same as > > f(0) * d(t) > > the Dirac delta doesn't give a rat's ass what the values of f(t) are > except for when t=0.
Except that f(t) is a function over t. f(0) is a constant. So what does d(t-nT) * f(nT) mean? Is that a function times a scalar rather than a convolution?
>> But >> contrary to what Gareth is saying both d and f are continuous functions >> over t and the * indicates correlation producing another continuous >> function. Each of these functions have just one point with a value that >> is not zero at times corresponding to nT. The summation of these >> functions results in a signal with non-zero values only at times nT. >> >> I looked up Dirac Comb which is another way of doing the same thing. >> First perform the summation of the Dirac function d(t-nT) over n and >> then convolve with f(t). >> >> Do I have this right? > > i think so.
Lol, I wish I was as sure... -- Rick
On 2/26/2015 10:54 PM, robert bristow-johnson wrote:
> On 2/26/15 10:48 PM, robert bristow-johnson wrote: >> On 2/26/15 10:20 PM, rickman wrote: >>> >>> I looked up Dirac Comb which is another way of doing the same thing. >>> First perform the summation of the Dirac function d(t-nT) over n and >>> then convolve with f(t). >>> >>> Do I have this right? >> >> i think so. >> > > whoops. i think i missed it here. > > no, that statement is *not* right. it's multiplication of f(t) with the > Dirac comb (which is the summation of the Dirac function d(t-nT)), not > convolution of f(t) with the Dirac comb. > > so, you didn't get that right. > > (and neither did i. sometimes i think i read something carefully when i > didn't.)
It has been too long since I dealt with this stuff to remember the details. I recall convolution and correlation, but what does it mean to "multiply" two continuous functions? -- Rick
"rickman" <gnuarm@gmail.com> wrote in message 
news:mcom8h$n1j$1@dont-email.me...
> (because using f(nT) makes no sense)
f(nT) is the value of f(t) at the exact point of sampling, and we're not interested in f(t) in the middle of the sampling, although if we're sampling way past the Nyquist criterion then it won't matter because f(t) will not have changed significantly in that time.
> So I'm not certain what your new equation is. Here is the evolution of > what you indicated... > Original equation - sum (0, inf)(d(t-T) * f(t-T) )
... which you correctly identified as being wrong
> Now after fixing... I'm not sure what - sum (0, inf)(d(t-nT) * f(nT) ) > Do I have that right? Maybe I missed something and I don't know what your > equation is...
Taking the bit that is being summed, d(t-nT) is d(0) delayed until the point of sampling and f(nT) is the value of f(t) at the point of sampling.
> Could I ask that if you intend for t to be the time of the start of your > sequence, that you call it t0 to avoid confusion. Whether t is a constant > or a continuous variable makes a *huge* difference in how to interpret the > equation.
I'm unsure as to what is your confusion, for t represents the time variable and at the start of time I just use 0 as in d(0)
"rickman" <gnuarm@gmail.com> wrote in message 
news:mcome4$ne5$1@dont-email.me...
> On 2/26/2015 5:01 PM, gareth wrote: >> "robert bristow-johnson" <rbj@audioimagination.com> wrote in message >> news:mco4ng$3ge$1@dont-email.me... >>> he might have something there, Rick. we know that >>> SUM{ x(t) delta(t-nT) } >>> n >>> is the same as >>> SUM{ x(nT) delta(t-nT) } >>> n >> Actually that isn't right because of the definition of d(t) under >> an integral sine, whereas the derivation for sampling is >> an engineering approximation, just as our use of Fourier >> is an approximation because we do not consider our >> signals to have existed since time immemorial ( or even longer >> than the legal definition of the 14th Century) and continuing >> to exist until eternity. > > Ok, I guess I have to give up. I thought there might be some semblance of > reality in the math you are using, but you just tossed that out of the > window.
Where Robert is in error, it is because he is attempting some inappropriate mathematics with Delta functions which are only _DEFINED_ under an integral. In the case of the sampling, we are not actually multiplying the input signal by a comb of delta functions, what we are doing is representing the already sampled signal made up of unit impulses as though they are newsly-created deltas but without any multiplication taking place.
"rickman" <gnuarm@gmail.com> wrote in message 
news:mconoi$r04$1@dont-email.me...
> On 2/26/2015 4:55 PM, robert bristow-johnson wrote: >> On 2/26/15 4:12 PM, gareth wrote: >>> "rickman"<gnuarm@gmail.com> wrote in message >>> news:mco1iv$lh3$2@dont-email.me... >>>>> Yes, lools like another booboo on my part, but you are only >>>>> partially correct in that the reference should be f(nT), the >>>>> instantaneous >>>>> value at the sampling instant. >>>> That is not right. It is f(t) which is the original function you are >>>> sampling. >>> No, f(nT) is correct because the value of f(t) at the beginning >>> of the sampling pulse is retained, and the value of f(t) during >>> the rest of the pulse is irrelevant. >> he might have something there, Rick. we know that >> SUM{ x(t) delta(t-nT) } >> n >> is the same as >> SUM{ x(nT) delta(t-nT) } >> n > > I think I have learned my lesson and won't be trying to coax a rational > explanation from the OP any longer.
All my explanations are rational. I'll help you further if you still misunderstand.
> But I'm a bit confused now. He originally said the multiplication was a > scalar multiply rather than a convolution of the two series.
That was a facet of my asciification because * is used in other texts as convolution, my remarks was intended to prevent confusion, and clearly failing to do so.
On 2/27/2015 4:21 AM, gareth wrote:
> "rickman" <gnuarm@gmail.com> wrote in message > news:mcom8h$n1j$1@dont-email.me... >> (because using f(nT) makes no sense) > > f(nT) is the value of f(t) at the exact point of sampling, and we're > not interested in f(t) in the middle of the sampling, although if we're > sampling way past the Nyquist criterion then it won't matter because > f(t) will not have changed significantly in that time. > > > >> So I'm not certain what your new equation is. Here is the evolution of >> what you indicated... >> Original equation - sum (0, inf)(d(t-T) * f(t-T) ) > > ... which you correctly identified as being wrong > >> Now after fixing... I'm not sure what - sum (0, inf)(d(t-nT) * f(nT) ) >> Do I have that right? Maybe I missed something and I don't know what your >> equation is... > > Taking the bit that is being summed, d(t-nT) is d(0) delayed until > the point of sampling and f(nT) is the value of f(t) at the point of > sampling.
So you are multiplying a function d(t-nT) by a scalar f(nT), right? I suppose that can work. You end up with a set of functions, each scaled by f(nT) and the impulse shifted in time by nT. Sum them up and you get one function that contains the appropriate value at each impulse of a Dirac Comb.
>> Could I ask that if you intend for t to be the time of the start of your >> sequence, that you call it t0 to avoid confusion. Whether t is a constant >> or a continuous variable makes a *huge* difference in how to interpret the >> equation. > > I'm unsure as to what is your confusion, for t represents the time variable > and at the start of time I just use 0 as in d(0)
't' represents the entire range of the input variable from - infinity to + infinity for the continuous functions we are using. t0 is a specific value of t. So is t the range of the inputs to your functions or is it a specific value such as 0? -- Rick
"rickman" <gnuarm@gmail.com> wrote in message 
news:mcpe3r$uf9$1@dont-email.me...
> > So you are multiplying a function d(t-nT) by a scalar f(nT), right?
On the surface, that would appear to be so, but it is not so, and representing sampling with that as a starting point is the reason for much misunderstanding (including my long-resolved protests about Big K) We do not actually do such a multiplication. If you think about the physical action of sampling, what we actually do by multiplication is ... f(nT) * (u( t - (n + 1)T ) - u( t - nT) ) ... ie, we end up with a sampled pulse that has the value at the start of the pulse, f(nT) and then lasts until the start of the next pulse. u(t) being the Unit Step function. That is a very unweildy formula, so we massage it so that it appears to be a stream of newly-created Delta functions, but at no time do we do sampling by multiplying f(nT) by d(t-nT) Bugger! Bugger! Bugger! I've got that the wrong way aound (still!) For the pulse starts with a positive u(t - nT) and ends T seconds later with a negative-going u( t - (n+!)T) f(nT) * (u( t - n T ) - u( t - (n+1)T) )
On 26.02.2015 22:14, gareth wrote:

> The ghost was resuurected by the malicious cross-post by cole to comp.dsp > of another thread.
YOU started this very thread. You alone.
> Oh dear, another one given over to infantile personal remarks.
If you think that me telling you the truth is an infantile personal remark then you're delusional. Cheers, Johannes --
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt? > Zumindest nicht &#4294967295;ffentlich!
Ah, der neueste und bis heute genialste Streich unsere gro&#4294967295;en Kosmologen: Die Geheim-Vorhersage. - Karl Kaos &#4294967295;ber R&#4294967295;diger Thomas in dsa <hidbv3$om2$1@speranza.aioe.org>