even if I do something like this:
function [out] = smallest_multiple(n)
if n == uint64(1)
out = uint64(1) ;
elseif n == uint64(2)
out = uint64(2) ;
end
end
I still get an error:
Error using prod
PROD is only supported for floating point input.