view flat_index.m @ 435:f23b30400f46 feature/grids

Merge default into feature/grid
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 21 Feb 2017 13:16:56 +0100
parents 48b6fb693025
children
line wrap: on
line source

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