% Determines whether a value is an array.  Returns 1 if yes, 0 if no.
% 
%RELEASE NOTES
% Written by Mark Raleigh (mraleig1@uw.ed)
% Released on July 6, 2011
% 
%SYNTAX
% ismat = isarray(A)
% 
%INPUTS
% A = input value
% 
%OUTPUTS
% isarr = 1 if A is an array, 0 if it is not

%%
function isarr = isarray(A)

if (size(A,1) > 1 && size(A,2) == 1) || (size(A,1) == 1 && size(A,2) > 1)
    isarr = 1;
else
    isarr = 0;
end