What is the Energy of a Signal with Rectangular Components?

  • Thread starter Thread starter banfina
  • Start date Start date
  • Tags Tags
    Energy Signal
banfina
Messages
2
Reaction score
0

Homework Statement


Given two constants, A and B, what is the energy of the following signal?

f(t) = A*rect(t) + B*rect(t-0.5)


Homework Equations


E_f = \int_{-\infty}^{\infty} |f(t)|^2



The Attempt at a Solution


E_f = \int_{-\infty}^{\infty} [A*rect(t) + B*rect(t-0.5)]^2 dt
= \int_{-\infty}^{\infty} [A^2*rect^2(t) + 2AB*rect(t)rect(t-0.5) + B^2rect^2(t-0.5)] dt
= A^2\int_{-\infty}^{\infty} rect^2(t) dt + 2AB\int_{-\infty}^{\infty} rect(t)rect(t-0.5) dt + B^2\int_{-\infty}^{\infty} rect^2(t-0.5) dt
= A^2 + 2AB + B^2
= (A + B)^2

This seems wrong to me somehow; I guess my real question is does \int_{-\infty}^{\infty} rect^2(\frac{t}{\tau}) = \tau?
 
Physics news on Phys.org
What do you mean by "rect(x)"?
 
HallsofIvy said:
What do you mean by "rect(x)"?

rect(t) = \left\{<br /> \begin{array}{11}<br /> 0 &amp; \mbox{if } |t| &gt; \frac{1}{2} \\<br /> \frac{1}{2} &amp; \mbox{if } |t| = \frac{1}{2} \\<br /> 1 &amp; \mbox{if } |t| &lt; \frac{1}{2}<br /> \end{array}<br /> \right.
http://en.wikipedia.org/wiki/Rectangular_function
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top