How to create a mesh with given node distances?

I have a question regarding MATLAB mesh creation. I was trying to create a 3-dimensional mesh with specific distances between each node (such that the resulting mesh is made of cubes, so node distances are constant throughout the whole mesh). Is there a way to do it? When I was reading through the mesh and meshgrid documentation but unfortunately there does not appear to be a method written out in there.
The mesh should look like this. It is a 7-cube mesh, with the 7th cube being in the interior of the mesh. (the bottom cube is cut out because I do not intend to have an 8 cube mesh. Just pretend that the sliver isn't there)
Thanks in advance!

1 件のコメント

David Rauch
David Rauch 2021 年 1 月 18 日
If anything in this post is unclear, I will be happy to specify and clear things up!

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeComputational Geometry についてさらに検索

製品

タグ

質問済み:

2021 年 1 月 18 日

コメント済み:

2021 年 1 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by