Azzera filtri
Azzera filtri

Create a mesh from a 3d matrix

2 visualizzazioni (ultimi 30 giorni)
Saurabh Sakpal
Saurabh Sakpal il 5 Apr 2016
Commentato: Saurabh Sakpal il 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.

Risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by