`The project is about point cloud. Given a large number of 3-D coordinates (x-y-z) with all intensities are the same, say 1 or 255. The range of x, y and z shown as follows. * -113<x<158;* -136<y<135 and* -771<z<-500.# If i create a 272 by 272 by 272 matrix, how can i map those 3-D coordinates to the matrix? A = zeros(272, 272, 272);# I know the matrix index starts from 1 in MAT-LAB. Should I create a 3-D grid to do mapping?`

# MATLAB: How do 3D coordinates map to a 3D matrix

3d mapping to matrix

## Best Answer