comparison scripts/strings/dec2bin.m @ 10821:693e22af08ae

Grammarcheck documentation of m-files Add newlines between @item fields for readability.
author Rik <octave@nomad.inbox5.com>
date Mon, 26 Jul 2010 21:25:36 -0700
parents 16f53d29049f
children 7e8ce65f73cf
comparison
equal deleted inserted replaced
10820:c44c786f87ba 10821:693e22af08ae
18 ## <http://www.gnu.org/licenses/>. 18 ## <http://www.gnu.org/licenses/>.
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} dec2bin (@var{n}, @var{len}) 21 ## @deftypefn {Function File} {} dec2bin (@var{n}, @var{len})
22 ## Return a binary number corresponding to the non-negative decimal number 22 ## Return a binary number corresponding to the non-negative decimal number
23 ## @var{n}, as a string of ones and zeros. For example, 23 ## @var{n}, as a string of ones and zeros. For example:
24 ## 24 ##
25 ## @example 25 ## @example
26 ## @group 26 ## @group
27 ## dec2bin (14) 27 ## dec2bin (14)
28 ## @result{} "1110" 28 ## @result{} "1110"