help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I am a newbie, trying to do something very simple and not succeeding


From: Jeff Silverman
Subject: I am a newbie, trying to do something very simple and not succeeding
Date: Wed, 12 Nov 2003 01:34:23 -0800 (PST)

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}

that works, but then I try

y = log(x)

I get an error message

error: mapper: wrong type argument: 'cell'

I tried wrapping this in a loop and it still gives me the error.

I am sure I am doing something stupidly wrong, but I just don't see it.


Many thanks,


jeff


-- 
Jeff Silverman
jeffs at commercialventvac dot com

Know perl: Know freedom.
No perl: no freedom.
The right to open source software is the right to be free.



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]