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.

 채택된 답변

Rik
Rik 2018년 2월 18일

0 개 추천

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

Rik
Rik 2018년 2월 24일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

태그

질문:

2018년 2월 18일

댓글:

Rik
2018년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by