view flat_index.m @ 357:19495f126f06 feature/beams

Minor clean up of d4_variable_4.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 05 Dec 2016 13:10:44 +0100
parents 48b6fb693025
children
line wrap: on
line source

function I = flat_index(n,i,j)
    I = i + (j - 1)*n;
end