view flat_index.m @ 603:d196b7cdc626 feature/grids

Respect end time in step mode
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 28 Sep 2017 11:17:15 +0200
parents 48b6fb693025
children
line wrap: on
line source

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