view flat_index.m @ 744:94bd0f3293c8 feature/grids

SBPInTimeSecondOrderForm: Scale the system acording to C by default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 28 Mar 2018 12:47:53 +0200
parents 48b6fb693025
children
line wrap: on
line source

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