www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ComplementofUnsignedIntegersExample.m
%% Complement of Unsigned Integers %% cmp = bitcmp(64,'uint8') maxint = intmax('uint8') - 64 %% % The complement of an unsigned integer is equal to itself subtracted from % the maximum integer of its data type.