I tried to convert an image to binary form using dec2bin()
function in MATLAB.
here i got an error showing
'Operands to the || and && operators must be convertible to logical scalar values'.
Error in ==> dec2bin at 31 if any(d < 0) || any(~isfinite(d))