help-octave
[Top][All Lists]
Advanced

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

variables...


From: Adam Balgach
Subject: variables...
Date: Wed, 15 Sep 1999 11:13:45 -0500

Ok, lets say i define a variable...

f = "3*x^2+4*x+5"
Octave changes that to f = 3*x^2+4*x+5 and im assumming that f is now a
string (?)
how would i go about searching for the positions of "x" in that string? im
thinking way back to old basic commands like "left()" but i cant find any
here in octave.  any thoughts? (also how would i display that string...when
i define f as about and try..

fprintf("string: "+f+"\n"); i get a ton of errors.

thanks

adam balgach
address@hidden



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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