view flat_index.m @ 923:d232483eb72f feature/utux2D

Remove interfaceOptions class
author Martin Almquist <malmquist@stanford.edu>
date Sun, 02 Dec 2018 17:19:48 -0800
parents 48b6fb693025
children
line wrap: on
line source

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