What is the best way to store 3D points in a loop
Show older comments
Hi, I have a big collection of 3D points, and I am trying to reorganize them with respect to their position by making planes about a line. So in each loop I get a set of 3D points that I want to save for that specific plane. I need a marker so that when using later I can pull out specific points only instead of the whole set. I tried cat, vertcat but it cannot be used in a loop(atleast I don't know how to). Can anyone help? Thanks
Here is the code
input(around 24,000 set of 3D points in a matrix)
input(centerline from which my planes would be build)
for i=1:64
for (every 3D point)
make 2 planes on centerline
if (point inside plane)
save point
end
I want to save points with marker for each of 64 planes, so that when I use it later, I can only search in the specific points lying on the plane and not all of them. Thanks
Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!