matlab: compare nf2ff data for relative difference
parent
34ccfef202
commit
c0f8cffa0a
|
@ -107,7 +107,7 @@ if numel(v1)~=numel(v2)
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
if sum(abs(v1(:)-v2(:)) > acc)>0
|
if sum(abs((v1(:)-v2(:))/v1(:)) > acc)>0
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
equal = 1;
|
equal = 1;
|
||||||
|
|
Loading…
Reference in New Issue