Add a voxle a value

1 次查看(过去 30 天)
sia
sia 2013-6-3
hi guys, I want to create a 3D coordinate system, then I want to assign a value of each voxel. e.g. the coordinates [1 1 1] will have the value first.
how can i do something like this?
THX

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-6-3
编辑:Azzi Abdelmalek 2013-6-3
out(:,:,1)=[1 1 1]
out(:,:,2)=[1 0 1]
  3 个评论
sia
sia 2013-6-3
accepted my worldcoordinatesystem has the size(10X10X10), now I want to go through all voxel and add for each voxel the value 0 until this coordinate [5 5 5] is achieved, then I want to add value 1.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Beamforming and Direction of Arrival Estimation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by