home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
WINDOWS
/
DIVERSEN
/
MATHS171
/
X101.M
< prev
Wrap
Text File
|
1993-03-23
|
194b
|
11 lines
function y=x101(n)
%y=x101(n)
%return a n-point vector linearly spaced -1 to 1
% S.Halevy 7/31/92
% Copyright (c) 1992 by the MathWizards
y= ((0:(n-1))/(n-1) - 0.5)*2;