音频能量计算

音频能量计算

function [y] = pow_1(x)
N =  length(x);  % Length of voice signal 'x'
xold =0.0;       %initialize it to zero
for n = 1:N
    sumx = xold+(x(n)^2);
    xold = sumx;
end
y = sumx/N
    原文作者:谢娘蓝桥
    原文地址: https://blog.csdn.net/xinshuwei/article/details/108021624
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞