ME313 MatLab and Data Files
Last Updated November 10 1997
Note: When I left-click on the link(s) below from my browser, the file
is read directly into the browser. It can then be saved on the local hard disk
using "Save As". Alternatively, you can right-click directly on the link,
and your browser will automatically prompt for a save location on your disk.
eulmeth1.m Generalization of
eulmeth.m to vector valued state equations. The particular dynamic system encoded into
eulmeth1.m is example 3.2 from the class text. eulmeth.m can be found on the Matlab ftp
site for the class textbook.
ex3_2.m State system
function used for ode45 as demonstrated in class. The dynamic system encoded into
ex3_2.m is example 3.2 from the class text.
Demonstration of Matlab function lsim as described in class.
Updated list of rules for obtaining state space representation for dynamic
program was used in class to compare the effect of time step on the accuracy
of numerical solution of an example dynamic system using Euler's method
and the Matlab subrouting ode45. In order to use this program, you must first
run the Matlab program eulmeth1.m.
notes1.m This program
was used in class to demonstrate the procedure for linearization of
nonlinear dynamic systems. This program (notes1.m) simulates the nonlinear system contained in
ex1.m, and the
linearized version contained in ex1a.m.
Both of the systems are simulated using Matlab ode45.
tf1.m This function was
used in class to demonstrate coding and evaluation of |T(jw)|.