view flat_index.m @ 274:ac8e00883986 feature/beams

Fixed a comment.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 06 Sep 2016 15:54:45 +0200
parents 48b6fb693025
children
line wrap: on
line source

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