Recent content by jonasboy
-
J
Undergrad Finding the index number on a stretched cartesian grid
Imagine I have a set of discrete points equally spaced out and indexed from 1 to n (a 1D grid). On a cartesian grid if the spacing, dx, is constant the index can be obtained simply by: i = floor(x/dx) That was pretty simple, now if the cartesian grid is stretched (i.e. dx is not constant)...- jonasboy
- Thread
- Cartesian Grid Index
- Replies: 1
- Forum: General Math