home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / STRFUN.DI$ / INT2STR.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  286 b   |  11 lines

  1. function s = int2str(n)
  2. %INT2STR Integer to string conversion.
  3. %    S = INT2STR(N)  converts the integer valued scalar number  N
  4. %       into a string representation.
  5. %
  6. %    See also NUM2STR, SPRINTF, FPRINTF.
  7.  
  8. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  9.  
  10. s = sprintf('%.0f',n);
  11.