view flat_index.m @ 595:2a2f34778ded feature/utux2D

Make Utux2D work
author Martin Almquist <malmquist@stanford.edu>
date Tue, 26 Sep 2017 13:26:25 -0700
parents 48b6fb693025
children
line wrap: on
line source

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