Defining variables to comput the ISNR

Hi,
I have to modify a script so that it automatically computes the ISNR. I learned that the formula for computing the ISNR is ISRN=10*log10(num/den). However, I don't know how to define "num" and "den".
num = sum of all the terms of the squared difference between original and noisy
den = sum of all the terms of the squared difference between original and restored
Can someone help me with this?
Regards,
Daniel

답변 (1개)

Walter Roberson
Walter Roberson 2015년 5월 25일

0 개 추천

sum((double(original(:)) - double(noisy(:))).^2)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

질문:

2015년 5월 25일

댓글:

2015년 5월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by