필터 지우기
필터 지우기

Unrecognized function or variable 'msr_error'.

조회 수: 1 (최근 30일)
Tosin
Tosin 2023년 5월 11일
댓글: Mathieu NOE 2023년 5월 11일
Unrecognized function or variable 'msr_error'.
Error in final (line 25)
Err_b1=msr_error(o,out,256,256);
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2023년 5월 11일
it simply tells you that no variable or function (in the known paths) that exist with this name
there is such a function that exist in this FEX, if it's what you miss :
% Call: msr_error.m
% To calculate error of two images
%
% Artyom Grigoryan, EE TAMU 1997
function Err=msr_error(o,out,N1,N2)
Err=0.;
N=sqrt(N1*N2);
for j=1:N1
for k=1:N2
t=out(j,k)-o(j,k);
t=t/N;
Err=Err+t*t;
end
end
Err=sqrt(Err)/N;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by