Mercurial > octave-nkf
view test/octave.test/matrix/linspace-1.m @ 4720:e759d01692db ss-2-1-53
[project @ 2004-01-23 04:13:37 by jwe]
author | jwe |
---|---|
date | Fri, 23 Jan 2004 04:13:37 +0000 |
parents | eeb061f9cdbf |
children |
line wrap: on
line source
x1 = linspace (1, 2); x2 = linspace (1, 2, 10); x3 = linspace (1, -2, 10); (size (x1) == [1, 100] && x1(1) == 1 && x1(100) == 2 && size (x2) == [1, 10] && x2(1) == 1 && x2(10) == 2 && size (x3) == [1, 10] && x3(1) == 1 && x3(10) == -2)