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.

 Respuesta aceptada

Rik
Rik el 18 de Feb. de 2018

0 votos

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 comentario

Rik
Rik el 24 de Feb. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 18 de Feb. de 2018

Comentada:

Rik
el 24 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by