From bug-octave-request at bevo dot che dot wisc dot edu Mon May 26 03:08:45 2003 Subject: vector is not vector ? From: Christoph Ellenberger To: bug-octave at bevo dot che dot wisc dot edu Date: Mon, 26 May 2003 10:12:42 +0200 running 2.1.48 I found this problem: test=[1 2 3 4 5 6 7 8 9] test = 1 2 3 4 5 6 7 8 9 sel=test>2 & test<7 sel = 0 0 1 1 1 1 0 0 0 test(sel) ans = 3 4 5 6 sel2=[0 0 1 1 1 1 0 0 0] sel2 = 0 0 1 1 1 1 0 0 0 test(sel2) error: invalid vector index = 0 thanks in advance Christoph PS:just resending this because I forgot to but a reply-adress. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------