Doxygen Source Code Documentation
AfniXYZ2AfniIndex.m File Reference
Go to the source code of this file.
Functions | |
if (m1~=3) | |
fprintf (1,'\a\nError in AfniXYZ2AfniIndex:Bad size for XYZ\n\n') | |
Variables | |
function [err, Indx] | |
it will be rounded to the nearest integer | Nxx |
it will be rounded to the nearest integer | Nyy |
it will be rounded to the nearest integer | m1 = size(XYZ) |
err = 1 | |
return | |
end | XYZ = round (XYZ) |
Indx = XYZ(:,1) + Nxx.* XYZ(:,2) + Nxx .* Nyy .* XYZ(:,3) |
Function Documentation
|
|
|
|
Variable Documentation
|
Definition at line 32 of file AfniXYZ2AfniIndex.m. |
|
Initial value: AfniXYZ2AfniIndex (XYZ, Nxx, Nyy) % % [err, Indx] = AfniXYZ2AfniIndex (XYZ, Nxx, Nyy) % % Returns the AFNI index of an AFNI voxel with coordinates XYZ % % XYZ : is the XYZ triplets matrix Nx3 % If the data in XYZ is not integers Definition at line 1 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 30 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 20 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 1 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 1 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 33 of file AfniXYZ2AfniIndex.m. |
|
Definition at line 28 of file AfniXYZ2AfniIndex.m. |