Problem with dirac convulation and power of a signal

In summary, the student is trying to solve a homework equation involving convolution, and is having difficulty understanding the notation and formulas for the power of a sinusoid.
  • #1
fridaycoffee
11
0

Homework Statement


1. i need to obtain the result of x[n] * x[n] (convolution)
where x[n] = δ[n] + δ[n-1]
2. I need to obtain the power of the signal x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t) for R = 1 k Ω

Homework Equations


1.Who do you convolute 2 diracs ?
2. what is the correct formula for the power ?


The Attempt at a Solution


1. i consider on dirac as an y[n] so that y[n]*δ[n] = y[n]

2.P = Σ | ak |2
where ak are the coefficients of the an Fourier exponential serie and we have this relationship: | ak | = (Ak) /2 ;
where Ak is sqrt (Ck + Sk)2

Ck and Sk beeing the coefficient of the trigonometric Fourier series

x(t) = C0 + Σ [Ak cos kwt + Sksin kwot]

So a solution would be :

P = [sqrt (42 + 22) /2 ]2 + 2/2 = 5 + 1 = 6 but not in the results that i have to choose between. if i sum Ak2 the result would be 24 that is found in the possible ones
 
Physics news on Phys.org
  • #2
1. Write out the sequence delta(n). By the way, in discrete form it's not called a Dirac delta function but rather a unit impulse function (this should give you a hint to what delta(n) looks like). Then write delta(n-1). You should be able to picture the convolution as these slide past each other.

2. You forgot to square the last term.
 
  • #3
1. so δ[n] would be a stick at n= 0 and δ[n-1] would be a stick at n=1... and next i do the convolution like this ? δ[n]*δ[n] + δ[n] * δ[n-1] + δ[n-1] * δ[n] + δ[n-1]* δ[n-1] = δ[n-1] + δ[n] but its not in the possible results (δ[n] * δ[n-1] beeing = 0; and δ[n] * δ[n] = δ[n], δ[n-1]* δ[n-1] = δ[n-1]
Am I wrong ?
2. i skipped that step: { sqrt (22 ) / 2 }2 = 1

all the answers are over 12
 
  • #4
1. You have correctly identified x(n). Next you're going to slide ...00011000... past itself, and at each lag (relative offset between them), multiply element by element and sum.

2. Think about the power of a sinusoid of amplitude A; it's A^2/2, not (A/2)^2.
 
  • #5
1. if i do that wouldn't it be the sum i stated: δ[n]*δ[n] + δ[n] * δ[n-1] + δ[n-1] * δ[n] + δ[n-1]* δ[n-1] ? and the answer: 2δ[n] + 2δ[n-1]? ..but i have hard time on the result of a multiplication of two diracs or impulses..which term do i keep the first or the second one.

2. maybe but if | ak | = (Ak) /2 ..wouldnt | ak |2 =( Ak /2 )2
 
  • #6
1. The autocorrelation sequence, also called circular convolution, is ...000121000... Think about lining x up as I mentioned. For lag=1 you have
00011000..
00110000..
or one.

For zero lag
00011000..
00011000..
the convolution is 2.

2. Where did your equation come from? What is the power of Acoswt?
 
  • #7
1. what does the 000121000 sequence mean ..im not familiarized with this notation..one of the reasons i did not quite understood your answer

2. there are different formulas for the power of the signal

a. P = 1/T integral[ Xp (t)2]

b. P = Σ|ak|2

c. P = u(t)2 / R

The formulas where in the signal course i attended in the 5 semester
and in one book, via Parseval's Theorem


So i thought the b formula is the most appropriate for x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t)

the power of Acoswt would be P = (A/2 ) 2
 
  • #8
fridaycoffee said:
1. what does the 000121000 sequence mean ..im not familiarized with this notation..one of the reasons i did not quite understood your answer
It is the convolution at different lags, that is, different values of offset between x and a copy of x. The convolution at zero lag is 2, which is the answer to your question. Sorry if that was confusing.

fridaycoffee said:
2. there are different formulas for the power of the signal

a. P = 1/T integral[ Xp (t)2]

b. P = Σ|ak|2

c. P = u(t)2 / R

The formulas where in the signal course i attended in the 5 semester
and in one book, via Parseval's Theorem


So i thought the b formula is the most appropriate for x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t)

the power of Acoswt would be P = (A/2 ) 2
If you work out your definition a) above, you'll convince yourself that the power contained in a cosine wave Acoswt is A^2 / 2. This should give you the right answer.
 
  • #9
1. i meant what 000121000 i terms of δ[n], for zero leg 00022000 = 2δ[n] + 2δ[n-1] ? but 00012100 ? what does "1", "2" , "1" mean in terms of a δ[n] this might be a question at my master degree admision :)
2. Maybe youre right :) , i just applied the formula, and if i do that if |ak| = ( Ak ) /2 , it would be 22, or the formula isn't like that, I'm very confused
 
  • #10
1. Your sequence x[n] for -infinity < n < infinity is ...000011000..., right? Because delta[n] is a unit impulse that equals 0 except at n=0 when it equals 1, and delta[n-1] is zero except at n=1. To convolve it with itself, line x up with a copy of itself with an offset (or lag) m.
multiply term by term, and sum. See
http://en.wikipedia.org/wiki/Convolution"
You get zeros unless m=-1, in which case you have
..001100..
..011000..
and the convolution is 1. When m=0
..001100..
..001100..
you get 2. You can work out m=1.

2. The power of a wave is the square of the rms amplitude. You are given the peak amplitude A of a sin or cos wave, so the rms amplitude A/sqrt(2). In your problem, the power is then sum{(A_k^2)/2}, so the Fourier power of x(t) is 12. You state in your problem that there is a R=1 k resistor, so the electrical engineering formula P = (Vrms)^2 / R gives 0.012W or 12 mW.
 
Last edited by a moderator:
  • #11
1. Oh i got it now :) the first 1 from 011000 was for delta[n+1] but what you mean by 1, 2? one term,2 terms?

The possible answers are:
a) 2delta[n] + 2delta[n-1]
b)delta[n] + 2delta[n-1] + delta[n-2]
c)2delta[n-1] + 2delta[n-2]
d) delta[n] + delta[n-1] + delta[n-2]
e)delta[n-1] - 2delta[n-2]
f) delta[n-2] + delta[n-3]

The right answer in my opinion would be a)
delta[n]*delta[n] + delta[n] * delta[n-1] + delta[n-1] * delta[n] + delta[n-1]* delta[n-1] = 2delta[n] + 2delta[n-1]

delta[n]*delta[n] = delta[n]
delta[n-1]*delta[n-1] = delta[n-1]

but i don't know how to figure out delta[n]*delta[n-1]= ? it could be either one of the terms the result? i choose it in order to match the possible answers?



2. Thnks you're answer seems right

And thanks a lot for you're replies. It really helped a lot.
 
  • #12
fridaycoffee said:
1. Oh i got it now :) the first 1 from 011000 was for delta[n+1] but what you mean by 1, 2? one term,2 terms?

The possible answers are:
a) 2delta[n] + 2delta[n-1]
b)delta[n] + 2delta[n-1] + delta[n-2]
c)2delta[n-1] + 2delta[n-2]
d) delta[n] + delta[n-1] + delta[n-2]
e)delta[n-1] - 2delta[n-2]
f) delta[n-2] + delta[n-3]

The right answer in my opinion would be a)
No the answer is b. Writing sequence b explicitly gives ..000121000...

I am not explaining this well for you. Please see your TA or professor for clarification. They can explain the meaning of the unit impulse and of convolution to you one-on-one much more effectively than I can through this forum.
 
Last edited:
  • #13
Ok..so for m=-1 the second x[n] = delta[n] + delta[n-1] shifts into delta[n-1] + delta[n-2].
The lag m=-1 is standard for circular convolution ?
For m= 1 the answer would be delta[n+1] + 2delta[n] + delta[n-1] but for what would it stand ?

I don't have the chance to consult a teacher :(.
 
  • #14
fridaycoffee said:
Ok..so for m=-1 the second x[n] = delta[n] + delta[n-1] shifts into delta[n-1] + delta[n-2].
Yes, exactly.
fridaycoffee said:
The lag m=-1 is standard for circular convolution ?
Yes again.
fridaycoffee said:
For m= 1 the answer would be delta[n+1] + 2delta[n] + delta[n-1] but for what would it stand ?
Do you understand the meaning of delta[n]? It is the sequence
delta[n] = 1 for n=0
delta[n] = 0 for other n values
 
  • #15
marcusl said:
Yes, exactly.
Yes again.

Do you understand the meaning of delta[n]? It is the sequence
delta[n] = 1 for n=0
delta[n] = 0 for other n values
i know what it means :)
i thought there are other specific convolutions..
for example what would be the lag for a normal convolution if it follows the same algorithm or it doesnt?
 
  • #16
I have no idea what you just asked. Did you read the wiki article on convolution?
 
  • #17
yeah i read it before you post the link :)

i mean for example if i have [delta[n] + delta[n-2] ] * [delta [n+2] + delta[n+3]]

i continue adding lag until they meet? i misthought about specific lags for non autocorrelation convolution; i just apply the convolution formula
 
Last edited:
  • #18
I still don't understand your question "i continue adding lag until they meet?"
Just apply the convolution formula:

[tex][f*g](n)=\sum_m f(m)g(n-m)[/tex]

You get f*g=delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5)
or ...0001111000...
 
Last edited:
  • #19
marcusl said:
I still don't understand your question "i continue adding lag until they meet?"
Just apply the convolution formula:

[tex][f*g](n)=\sum_m f(m)g(n-m)[/tex]

You get f*g=delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5)
or ...0001111000...


delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5) ... i don't know how to obtain this answer

i made an image with the convolution of [delta[n] + delta[n-2] ] * [delta [n+2] + delta[n+3]]

Maybe you can explain better the result on this


[PLAIN]http://img31.imageshack.us/img31/4100/12092010941.jpg
 
Last edited by a moderator:
  • #20
i found an easier way of solving any kind of convolution
thnks anyway for all you help
 

FAQ: Problem with dirac convulation and power of a signal

What is Dirac convolution?

Dirac convolution is a mathematical operation that describes the output of a linear system when subjected to an input signal that is a delta function (also known as a Dirac delta function). It is represented by the symbol "∗" and is used to calculate the response of a system to a specific input signal.

What is the power of a signal?

The power of a signal is a measure of the amount of energy that is contained in a signal. It is calculated by finding the average squared value of the signal over a given time interval. In other words, it represents the average rate at which energy is being transmitted by the signal.

How does Dirac convolution affect the power of a signal?

Dirac convolution does not affect the power of a signal. This is because the Dirac delta function has a value of 0 everywhere except at one specific point, so when convolved with a signal, it does not change the overall power of the signal.

What is the significance of Dirac convolution in signal processing?

Dirac convolution is an important tool in signal processing as it allows us to analyze the response of linear systems to specific input signals. It is particularly useful in understanding the behavior of systems in the frequency domain, as it can be used to convert the convolution operation in the time domain to a simple multiplication operation in the frequency domain.

Are there any limitations or considerations when using Dirac convolution in signal processing?

One limitation of Dirac convolution is that it can only be applied to linear systems. Additionally, the input signal must be a delta function, which is an idealized signal that does not exist in the real world. In practice, a very narrow pulse or a Gaussian function is often used to approximate a delta function. It is also important to consider the sampling rate and the length of the signal when using Dirac convolution, as these factors can affect the accuracy of the results.

Similar threads

Replies
1
Views
1K
Replies
6
Views
994
Replies
16
Views
1K
Replies
3
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Back
Top