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

3 次查看(过去 30 天)
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 个评论
Rik
Rik 2018-8-2
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by