Clear Filters
Clear Filters

Create a mesh from a 3d matrix

2 views (last 30 days)
Saurabh Sakpal
Saurabh Sakpal on 5 Apr 2016
Commented: Saurabh Sakpal on 5 Apr 2016
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.

Answers (1)

Saurabh Sakpal
Saurabh Sakpal on 5 Apr 2016
It should (mesh) look like this.

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!