> if l2_flags(i,j) >= 0 % positive or zero pass directly to DEC2BIN, with a leading '0'
> bin = ('0' dec2bin(l2_flags(i,j),n-1));
> else % negative, pass the negative of the input to DEC2BIN, add leading '1'
> bin = ('1' dec2bin(-l2_flags(i,j),n-1));
> end

|
Responsible NASA Official: Gene C. Feldman
Curator: OceanColor Webmaster Authorized by: Gene C. Feldman Updated: 27 November 2007 |
Privacy Policy and Important Notices |
|