Terms of agreement:
understand that Palamedes is free software that may not be used
for commercial purposes without express permission
authors, and cannot be reproduced and/or distributed in original or
modified form under
a different name and/or authorship
In case you are running a version of Matlab prior to R2010b, you will also need
a function called iscolumn.m
which checks whether the input array is a column
vector. Either upgrade Matlab or save the code below as 'iscolumn.m'
Palamedes folder. Once you upgrade to R2010b or higher, delete the 'iscolumn.m'
to avoid Matlab warning about duplicate filenames.
function col = iscolumn(a)
input array is a column vector
col = false;
if size(a,2) == 1 && ndims(a) == 2
col = true;