What is the Energy of a Signal with Rectangular Components?

  • Thread starter Thread starter banfina
  • Start date Start date
  • Tags Tags
    Energy Signal
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
banfina
Messages
2
Reaction score
0

Homework Statement


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

[tex]f(t) = A*rect(t) + B*rect(t-0.5)[/tex]


Homework Equations


[tex]E_f = \int_{-\infty}^{\infty} |f(t)|^2[/tex]



The Attempt at a Solution


[tex]E_f = \int_{-\infty}^{\infty} [A*rect(t) + B*rect(t-0.5)]^2 dt[/tex]
[tex]= \int_{-\infty}^{\infty} [A^2*rect^2(t) + 2AB*rect(t)rect(t-0.5) + B^2rect^2(t-0.5)] dt[/tex]
[tex]= 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[/tex]
[tex]= A^2 + 2AB + B^2[/tex]
[tex]= (A + B)^2[/tex]

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

[tex]rect(t) = \left\{<br /> \begin{array}{11}<br /> 0 & \mbox{if } |t| > \frac{1}{2} \\<br /> \frac{1}{2} & \mbox{if } |t| = \frac{1}{2} \\<br /> 1 & \mbox{if } |t| < \frac{1}{2}<br /> \end{array}<br /> \right.[/tex]
http://en.wikipedia.org/wiki/Rectangular_function