view +scheme/errorRelative.m @ 292:3d275c5e45b3 feature/hypsyst

Changed how the matrices are built
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 23 Sep 2016 14:48:54 +0200
parents ed6a704b028d
children
line wrap: on
line source

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