| k-Wave Toolbox |
|
Return the Cartesian coordinates of the non-zero points of a binary grid
[cart_data, order_index] = grid2cart(kgrid, grid_data)
grid2cart returns the set of Cartesian coordinates corresponding to the non-zero elements in the binary matrix grid_data, in the
coordinate framework defined in kgrid.
|
k-Wave grid structure returned by |
|
binary grid with the same dimensions as the k-Wave grid structure |
|
1 x N, 2 x N, or 3 x N (for 1, 2, and 3 dimensions) array of Cartesian sensor points |
|
the order that the Cartesian points appear in |
cart2grid, interpCartData, makeGrid
|
gradientSpect | h5compare | ![]() |
© 2009-2014 Bradley Treeby and Ben Cox.