image thumbnail

read_teqc_compact

by

 

17 Apr 2011 (Updated )

Reads teqc's QC compact files more rapidly -- without for loops.

isodd (x)
function answer = isodd (x)
    answer = (mod(x,2) == 1);
end

%!test
%! myassert(isodd(1))
%! myassert(~isodd(2))
%! myassert(isodd(3))

Contact us