Hi, I'm trying to take a 2D slice of a 3D plot of spheres. For example, on the attached image(1), I need to take a slice at 50mm as shown in (2). Can you help me create the slice? Many thanks.

 Réponse acceptée

Rik
Rik le 18 Fév 2018

0 votes

You could use voxelise (FEX) and then select your slice. The downside is that Matlab will doing a lot of work, most of which will not be necessary, so you can also take a look at the code itself to find a more efficient method.
Or directly use an implementation that intersects meshes: SurfaceIntersection (FEX)

1 commentaire

Rik
Rik le 24 Fév 2018
Did this work for you? If not, feel free to post comments here with your remaining questions. If it did solve your problem, please mark it as accepted answer.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by