Logical Indexing of Meshgrid

4 visualizaciones (últimos 30 días)
Vaishnavi Sree Jeganathan
Vaishnavi Sree Jeganathan el 27 de Nov. de 2022
Comentada: Vaishnavi Sree Jeganathan el 3 de Dic. de 2022
Hi,
I have a 3D meshgrid. Is it possible to store logical 0/1 (flag = 0/1 ) in every grid point and plot all the grid points that has flag =0 ?
Please help me.

Respuestas (1)

Matt J
Matt J el 27 de Nov. de 2022
Editada: Matt J el 27 de Nov. de 2022
Logical arrays can be 3D just like any other Matlab array (except tables and 2D sparse matrices). You can use volshow to get a 3D rendering, though you may be asked to set your opengl settings to hardware-based in order for it to work.
  2 comentarios
Walter Roberson
Walter Roberson el 27 de Nov. de 2022
Vaishnavi Sree Jeganathan
Vaishnavi Sree Jeganathan el 3 de Dic. de 2022
Thank you so much. That was helpful

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by