Hi again everybody,
I have pairs of coordinates [x,y] which I can use to plot a nice figure of lines. However, I need to use the coordinates between these two points.
I either need to find the coordinates between them, or I need to plot a line between them using plot or some other function and then extract the x,y values of the line (this info must be stored somewhere right?).
interp1 has been suggested for another question but I get an error when trying to use this - possibly because the distance between the two points is a decimal? This is the error:
Error using griddedInterpolant The point coordinates are not sequenced in strict monotonic order.
The same goes for using linspace to create a series of coordinates, the number of coordinates I would need it to create would be a decimal, which it can't do. This is the error:
Warning: Integer operands are required for colon operator when used as index
Thank you for any help,