view flat_index.m @ 139:6cf264b023b0

Added script to check all the code in a directory.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 23 Feb 2016 14:21:52 +0100
parents 48b6fb693025
children
line wrap: on
line source

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