view flat_index.m @ 1092:47a72344db71 feature/dataspline

Bugfix in dataSpline(), reparameterize with parameter from 0 to 1 before using Curve.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 05 Apr 2019 13:14:29 -0700
parents 48b6fb693025
children
line wrap: on
line source

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