Intersecting a point cloud and grids

Hi everyone,
I have a point cloud. I need to create grids with a specified size. And then, I need to intersect the point cloud and the grids as seen in the figure. Finally, I need to determine which points are in which grid. How can I do that? Can you please give me some hints?

1 Comment

Hi, were you able to solve this? I'm in a similar situation myself. Any help would be greatly appreciated!

Sign in to comment.

Answers (1)

Matt J
Matt J on 5 Jan 2023
It's a straightforward application of histcounts2.

Asked:

on 17 Oct 2015

Answered:

on 5 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!