Mercurial > repos > public > sbplib
view +scheme/errorRelative.m @ 1187:5aa3049a4212 feature/rv
Allow for time dependent data when construcing the ODE RHS
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 08 Jul 2019 14:48:56 +0200 |
parents | ed6a704b028d |
children |
line wrap: on
line source
function e = errorRelative(~,v1,v2) e = sqrt(sum((v1-v2).^2)/sum(v2.^2)); end