help-octave
[Top][All Lists]
Advanced

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

eval() for user-defined matrices?


From: the_verge
Subject: eval() for user-defined matrices?
Date: Wed, 6 Sep 2006 20:58:59 -0700 (PDT)

Hi all,

Is there a way to implement eval("thing_x") if thing_x is a vector?  Or is
there some alternative command that will do the same thing?  For example:

thing_x = [1 3 6 9 0];
eval("thing_x")

returns "invalid vector index = 116"
instead of:

thing_x = 1 3 6 9 0

Any ideas on how to do this?  
Note:  I would like class(eval(thing_x)) to be double

Thanks,
Vergil
-- 
View this message in context: 
http://www.nabble.com/eval%28%29-for-user-defined-matrices--tf2230998.html#a6183851
Sent from the Octave - General forum at Nabble.com.



reply via email to

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