Next: First Order ODEs Symbolically
Up: Infant MATLAB
Previous: Some MATLAB commands
Contents
init.m LinebyLine
init.m contains variable assignments and one actual command.
Each of these lines could also be individually entered by hand at the
command prompt. (The symbol % tells MATLAB to ignore everything else
that follows on that particular line. It usually indicates a
comment/description inserted by the author of the Mfile.)

 N=20;

 ftx='2*t*x';

 initax=[2,2,2,2];

 ax=initax;

 axis(ax)

 t=ax(1):(ax(2)ax(1))/(N1):ax(2);

 t0=1.0932; x0=0.95208;

 C=0.28817;

 ftxsln='C*exp(t2)';
Michael Renardy
20000512