view convergence.m @ 370:c2c64ccb6a1e feature/hypsyst

Removed stupid comment
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 26 Jan 2017 13:49:37 +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