0001 function flag = iscstruct(A) 0002 flag = ( isstruct(A) && isfield(A, 'real') && isfield(A, 'imag') ); 0003 end