[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
creating built-in variables and extracting formulas from anonymous funct
Eric S. Carlson
creating built-in variables and extracting formulas from anonymous functions
Thu, 15 Mar 2007 13:14:12 -0700 (PDT)
1. Is there some way to define and initialize a built-in variable
dynamically at startup? Or is there another type of variable I can use that
does not get erased with the clear command?
2. Is there some way to extract the formula of an anonymous function as a
string? (Example - f= @(x) x.^2; f %outputs ans=@(x) x.^2 -- a=sprintf('%s',
f) ->gives an error )
View this message in context:
Sent from the Octave - General mailing list archive at Nabble.com.
- creating built-in variables and extracting formulas from anonymous functions,
Eric S. Carlson <=