matlab code for finding MSE and PSNR between two audio signals

3 visualizzazioni (ultimi 30 giorni)
I want matlab code for MSE and PSNR between two audio signals..please help me..

Risposte (1)

Shivaputra Narke
Shivaputra Narke il 30 Gen 2014
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 Commenti
Sheikh Thanbir Alam
Sheikh Thanbir Alam il 19 Lug 2020
But Max value for image is 255?? So, shoud we use 255 in audio signal???

Accedi per commentare.

Categorie

Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by