Mercurial > hg > octave-lyh
diff scripts/strings/dec2hex.m @ 2325:b5568c31ee2c
[project @ 1996-07-15 22:20:21 by jwe]
author | jwe |
---|---|
date | Mon, 15 Jul 1996 22:20:21 +0000 |
parents | 949ab8eba8bc |
children | c9f70d39255f |
line wrap: on
line diff
--- a/scripts/strings/dec2hex.m +++ b/scripts/strings/dec2hex.m @@ -1,5 +1,5 @@ ## Copyright (C) 1996 Kurt Hornik -## +## ## This file is part of Octave. ## ## Octave is free software; you can redistribute it and/or modify it @@ -20,7 +20,7 @@ ## usage: dec2hex (d) ## ## Returns the hex number corresponding to the decimal number d. For -## example, dec2hex (2748) returns "abc". +## example, dec2hex (2748) returns "abc". ## Author: jwe @@ -31,7 +31,7 @@ if (nargin != 1) usage ("dec2hex (d)"); endif - + [nr, nc] = size (d); len = nr * nc;