What actually this code explains? where it is used and how to interpret it?

1 view (last 30 days)
y=norm(x,2)^2/numel(x)
x is compelex vector.

Answers (1)

Yuan Li
Yuan Li on 21 Oct 2019
In the signal processing field, y is the power of signal x.
the square of 2-norm of x can be seen as energy of x, numel(x) is the length of x, then the ratio of energy and signal length is the signal power.

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!