home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / mathstud / x01.m < prev    next >
Encoding:
Text File  |  1995-05-19  |  176 b   |  9 lines

  1. function y=x01(n)
  2. %y=x01(n)
  3. %return a n-point vector linearly spaced 0 to 1
  4.  
  5. %       S.Halevy 7/31/92
  6. %       Copyright (c) 1992 by the MathWizards
  7.  
  8. y=(0:(n-1))/(n-1);
  9.