matlab code for finding MSE and PSNR between two audio signals
Ältere Kommentare anzeigen
I want matlab code for MSE and PSNR between two audio signals..please help me..
Antworten (1)
Shivaputra Narke
am 30 Jan. 2014
0 Stimmen
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 Kommentare
ayesha jabeen
am 4 Okt. 2016
i am getting this error while calculating MSE

iqbal maulana
am 17 Dez. 2017
size of y1 and y2 is not same
Sheikh Thanbir Alam
am 19 Jul. 2020
But Max value for image is 255?? So, shoud we use 255 in audio signal???
Kategorien
Mehr zu Audio I/O and Waveform Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!