matlab code for finding MSE and PSNR between two audio signals
조회 수: 3 (최근 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에서 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!
