try flag = zeros(1, 7); while 1 line = input('', 's'); lines = strsplit(line, '~'); yms = strsplit(cell2mat(lines(2)), '.'); ipflag = 0; binyms = []; for i = 1:length(yms) bintemp = num2str(dec2bin(str2double(cell2mat(yms(i))), 8)); binyms = strcat(binyms, bintemp); end if (~issorted(binyms, 'descen...