Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 150:d5a794c734bc feature/grids
Starting branch for adding abstract classes for grids, grid functions as well as implementing plotting and error calculation for these.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 21 Dec 2015 15:06:16 +0100 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end