view +scheme/errorRelative.m @ 376:b0e95c81943e feature/hypsyst

removed the white space
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 26 Jan 2017 14:06:59 +0100
parents ed6a704b028d
children
line wrap: on
line source

function e = errorRelative(~,v1,v2)
    e = sqrt(sum((v1-v2).^2)/sum(v2.^2));
end