Mercurial > repos > public > sbplib
view convergence.m @ 351:7cc3d5bd3692 feature/hypsyst
Curve linear code in 3D converges for manufactures solution
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Thu, 03 Nov 2016 22:03:09 +0100 |
parents | ad1a41d135a1 |
children |
line wrap: on
line source
function q = convergence(e,h) for i = 1:length(e)-1 q(i) = log(e(i)/e(i+1))/log(h(i+1)/h(i)); end end