Borrar filtros
Borrar filtros

Create a mesh from a 3d matrix

2 visualizaciones (últimos 30 días)
Saurabh Sakpal
Saurabh Sakpal el 5 de Abr. de 2016
Comentada: Saurabh Sakpal el 5 de Abr. de 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.

Respuestas (1)

Saurabh Sakpal
Saurabh Sakpal el 5 de Abr. de 2016
It should (mesh) look like this.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by