On 12/3/2012 7:08 AM, Javier wrote: > Hi, I have several 3D lines to analyze a structure. The problem is >that these coordinates aren't integer, for example 1.9 and I have the error: > Subscript indices must either be real positive integers or logicals. > > I don't want to ceil, floor or round, cause if I do this the lines >are modified, how could I access to these coordinates without changing the line?
you seem to be using the value itself as an index. use the location of the value as index. Not the value itself.