matlab code for finding MSE and PSNR between two audio signals
1 次查看(过去 30 天)
显示 更早的评论
I want matlab code for MSE and PSNR between two audio signals..please help me..
0 个评论
回答(1 个)
Shivaputra Narke
2014-1-30
Hope this helps.....
[R C]=size(signal1); err = (((signal1-signal2).^2)/(R*C)); % size of signals must be same length MSE=sqrt(err); PSNR = 20*log10(MAXVAL/MSE); % MAXVAL= 255 in case of 8 bit signal
3 个评论
Sheikh Thanbir Alam
2020-7-19
But Max value for image is 255?? So, shoud we use 255 in audio signal???
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!