Signal Energy and Power
In a similar way, we can compute the signal energy
(sum of squared moduli) using any of the following constructs:
Ex = x(:)' * x(:) Ex = sum(conj(x(:)) .* x(:)) Ex = sum(abs(x(:)).^2)The average power (energy per sample) is similarly Px = Ex/N. The



Next Section:
Projection Example 1
Previous Section:
Two's-Complement, Integer Fixed-Point Numbers