Home > rest_20090422 > rest_spm5_files > @create_file_array > ndims.m

ndims

PURPOSE ^

Number of dimensions

SYNOPSIS ^

function out = ndims(fa)

DESCRIPTION ^

 Number of dimensions
_______________________________________________________________________
 Copyright (C) 2005 Wellcome Department of Imaging Neuroscience

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

ndims.m

SOURCE CODE ^

0001 function out = ndims(fa)
0002 % Number of dimensions
0003 %_______________________________________________________________________
0004 % Copyright (C) 2005 Wellcome Department of Imaging Neuroscience
0005 
0006 %
0007 % $Id: ndims.m 253 2005-10-13 15:31:34Z guillaume $
0008 
0009 
0010 out = size(fa);
0011 out = length(out);
0012

Generated on Wed 29-Apr-2009 01:06:38 by m2html © 2005