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

Answers (1)

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.

Asked:

on 21 Oct 2019

Answered:

on 21 Oct 2019

Community Treasure Hunt

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

Start Hunting!