view +scheme/errorRelative.m @ 356:9567a9dd220d feature/hypsyst

The problem with the upwid operators is fixed
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 08 Dec 2016 10:52:15 +0100
parents ed6a704b028d
children
line wrap: on
line source

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