フィルターのクリア

How to use matlab to draw cubes?

12 ビュー (過去 30 日間)
changcheng qiu
changcheng qiu 2018 年 10 月 17 日
回答済み: fyp matlab 2021 年 5 月 16 日
I have some 3D coordinate datas,like this:[(1,1,1);(1,2,3)...],Now I want to use matlab to display these data in the form of cubes as shown below.The data such as (1,1,1) are the centre of the cube.Can you give me some advice? thanks!

採用された回答

Matt J
Matt J 2018 年 10 月 17 日
編集済み: Matt J 2018 年 10 月 17 日
Use the patch command to draw the faces of the cubes.

その他の回答 (2 件)

alejandro perez
alejandro perez 2020 年 2 月 2 日
In the description of this video is the code of a cube which rotates, moves and grows up.

fyp matlab
fyp matlab 2021 年 5 月 16 日
plotcube command isn't working

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by