Lecture Notes

Lecture NotesVideoOther resources
Introduction.pdfIntroduction
Matlab IntroductionMatlab Introductionprojectile.m - solves the projectile motion equations
Arrays in MatlabArrays in MatlabdegRadConvert.m - example of making and using arrays.

Here is another example of the same thing.
Matrix & vector algebra
Introduction to ExcelIntroduction to ExcelexcelIntro.xls - example of very basic Excel usage.
Linear Systems of EquationsLinear Systems of Equationsincinerator.m - example of solving a linear system of equations using Matlab.  See the lecture notes on linear systems of equations for the problem definition.
Plotting in Matlabsincos.m - example of plotting where the user chooses either radians or degrees to input the plotting range.
Logic & LoopsLogic & Loops - Part 1
Logic & Loops - Part 2
nfactfor.m - calculates the factorial of a number using a FOR LOOP.

nfactwhile.m - calculates the factorial of a number using a WHILE LOOP.

vecOps.m - calculates the dot product or elemental product using for loops.  Demonstrates usage of if statements and for loops.
Reports in MS WordReports in MS WordExample of using equations in MS Word, with automatic numbering and cross-referencing.
Input & Output in MatlabInput & Output in Matlab - Part 2Examples of using fprintf: temperature conversion table (output to command window) and here is the version that outputs to a file.
InterpolationInterpolationPolynomial interpolation using Matlab’s built in functions and the “manual” way.  NOTE: These use different data than what you should use for your homework.  Use the data from the lecture notes...
RegressionRegression - Part 1
Regression - Part 2
Examples of regression: ball drop example and the kinetics example
Functions in MatlabFunctions in MatlabExample of creating a function in matlab: angle_table.m
Nonlinear equations - Part 1
Nonlinear equations - Part 2
Nonlinear equations - Part 1
Nonlinear equations - Part 2
Using FZERO to solve nonlinear equations in Matlab - the projectile example: function and driver file.

Solving a system of nonlinear equations using SOLVER in Excel: nonlinSys.xls

Regression using optimization in excel (regression.xls) and in matlab (kineticsInClass.m)
Matlab's Symbolic Toolbox - Part 1
Matlab's Symbolic Toolbox - Part 2
Matlab's Symbolic Toolbox - Part 1
Matlab's Symbolic Toolbox - Part 2
Matlab's Symbolic Toolbox - Part 3

Leave a Reply