[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I am a newbie, trying to do something very simple and not succeeding
From: |
Christoph Dalitz |
Subject: |
Re: I am a newbie, trying to do something very simple and not succeeding |
Date: |
Wed, 12 Nov 2003 10:46:02 +0100 |
On Wed, 12 Nov 2003 01:34:23 -0800 (PST)
Jeff Silverman <address@hidden> wrote:
>
> I am trying to define a vector and take the natural logarithm of each
> element in the vector.
>
> x = { 1,2,5,10,20,50,80,90,95,98,99 }
> ^^^ ^^^
>
Use square brackets "[ ]" instead, these are the matrix/vector constructors.
Christoph
-------------------------------------------------------------
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
-------------------------------------------------------------