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.

 Akzeptierte Antwort

Rik
Rik am 18 Feb. 2018

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Gefragt:

am 18 Feb. 2018

Kommentiert:

Rik
am 24 Feb. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by