[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
creating built-in variables and extracting formulas from anonymous funct
From: |
Eric S. Carlson |
Subject: |
creating built-in variables and extracting formulas from anonymous functions |
Date: |
Thu, 15 Mar 2007 13:14:12 -0700 (PDT) |
Hello All,
Two questions:
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 )
Thanks,
Eric Carlson
--
View this message in context:
http://www.nabble.com/creating-built-in-variables-and-extracting-formulas-from-anonymous-functions-tf3410694.html#a9502647
Sent from the Octave - General mailing list archive at Nabble.com.
- creating built-in variables and extracting formulas from anonymous functions,
Eric S. Carlson <=