function output = bitset0(number, nbit, v)
% output = bitset0(number, nbit, v)   Set bit.
% 	Sets "nbit"th bit from "number" to "v".
%	v=0,1
%	Like bitset(), but uses nbit=0,1,... instead of 1,2,...

% 2008/03/07  Changed name from bitset2() to bitset0()
% 1998/05/19  Fixed comments
% 1998/03/10  Written

output = bitset(number, nbit+1, v);
