function complement=setcomplement(set) %Todd Goldfinger %complements a matrix set (assumed binary) complement=~set;