Cookbook: Difference between revisions

15 bytes added ,  22 August 2012
Line 112: Line 112:


The [http://www.gnu.org/software/octave/doc/interpreter/Anonymous-Functions.html#Anonymous-Functions anonympus function]
The [http://www.gnu.org/software/octave/doc/interpreter/Anonymous-Functions.html#Anonymous-Functions anonympus function]
 
<pre>
   @(x, t) sprime (x, t, k)
   @(x, t) sprime (x, t, k)
 
</pre>
is a function of only <math>x,t</math> where the parameter <math>k</math> is 'frozen' to the value it has at the moment in the current scope.
is a function of only  
<math>x,t</math>  
where the parameter  
<math>k</math>  
is 'frozen' to the value it has at the moment in the current scope.


== Plotting ==
== Plotting ==
== User input ==
== User input ==
349

edits