How do you transform a 4D array to 3D array, turning the 4th value into a color for the 3D point.

1 visualización (últimos 30 días)
I want to take an array like {1,2,3,4} and transform it to {1,2,3} and assign "4" to a color.
  1 comentario
Rik
Rik el 2 de Ag. de 2018
Your question is not clear. How do you assign a color to an array in Matlab? Your input example is not 4D either. Please try to give a complete example input and intended output.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices 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