필터 지우기
필터 지우기

CREATING A 3D MATRIX

조회 수: 27 (최근 30일)
Francis omigbodun
Francis omigbodun 2020년 3월 16일
답변: Aditya Mittal 2020년 4월 23일
can you please create a 3D matrix (i.e. imagine it as a cube of 10 x 10 x 10 voxels) and then set all voxels on the edges to have a value of 1 and all the internal voxels to have a value of 0 Then calculate the ratio of voxels set to “1” versus “0”) And finally, can you export the 3D voxel matrix to an STL file.

답변 (1개)

Aditya Mittal
Aditya Mittal 2020년 4월 23일
Hi,
In MATLAB, you can easily create 3-D matrix by concatenating multiple 2-D matrices. Multidimensional arrays are an extension to 2D matrices. I am attaching the link below for the documentation of multidimensional arrays,
For creating STL file from a 3-D voxel matrix you can refer the below link.

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by