matlab code for finding MSE and PSNR between two audio signals
이전 댓글 표시
I want matlab code for MSE and PSNR between two audio signals..please help me..
답변 (1개)
Shivaputra Narke
2014년 1월 30일
0 개 추천
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
ayesha jabeen
2016년 10월 4일
i am getting this error while calculating MSE

iqbal maulana
2017년 12월 17일
size of y1 and y2 is not same
Sheikh Thanbir Alam
2020년 7월 19일
But Max value for image is 255?? So, shoud we use 255 in audio signal???
카테고리
도움말 센터 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!