Create a mesh from a 3d matrix

2 次查看(过去 30 天)
Hi, sorry a basic question but one I cant find a proper answer for. I have a 3d matrix lets say its assigned a = rand(2,3,4), 2 rows, 3 columns, and 4 layers and i have given each of the 24 elements (since its 2 x 3 x 4 = 24) a value between 0-1. I want to display it as a mesh. And no I am not looking for a scatter plot or something else I need a triangular mesh. How do i go about doing it?
Thank You for reading.

回答(1 个)

Saurabh Sakpal
Saurabh Sakpal 2016-4-5
It should (mesh) look like this.

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by