voxel3DToIdx: Convert a Voxel's Coordinates (3-dimensional) to Position...

Description Usage Arguments Value

Description

vec represents the 3-dimensional coordinates of a voxel and dim3d represents the total number of voxels in each direction (x,y,z direction) for the fmri. Converts vec into the numeric that represents the position of vec in 3-dimensional array.

Usage

1
voxel3DToIdx(dim3d, vec)

Arguments

dim3d

a numeric vector of length 3

vec

a numeric vector of length 3

Value

numeric representing vec's position in an array of dimension dim3d


cdgreenidge/brcbase documentation built on May 13, 2019, 2:40 p.m.