convert x,y coordinates into indeces of ebsd
Syntax
ind = xy2ind(ebsd,x,y)
ebsd(ind)
[i,j] = ind = xy2ind(ebsd,x,y)
ebsd(i,j)
Input
ebsd | EBSDsquare |
x,y | spatial coordinates |
Output
ind | index to EBSDsquare |
i,j | indeces to EBSDsquare |
convert x,y coordinates into indeces of ebsd
ind = xy2ind(ebsd,x,y)
ebsd(ind)
[i,j] = ind = xy2ind(ebsd,x,y)
ebsd(i,j)
ebsd | EBSDsquare |
x,y | spatial coordinates |
ind | index to EBSDsquare |
i,j | indeces to EBSDsquare |