Lecture Notes | Video | Other resources |
---|---|---|
Introduction.pdf | Introduction | |
Matlab Introduction | Matlab Introduction | projectile.m - solves the projectile motion equations |
Arrays in Matlab | Arrays in Matlab | degRadConvert.m - example of making and using arrays. Here is another example of the same thing. |
Matrix & vector algebra | ||
Introduction to Excel | Introduction to Excel | excelIntro.xls - example of very basic Excel usage. |
Linear Systems of Equations | Linear Systems of Equations | incinerator.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 Matlab | sincos.m - example of plotting where the user chooses either radians or degrees to input the plotting range. | |
Logic & Loops | Logic & 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 Word | Reports in MS Word | Example of using equations in MS Word, with automatic numbering and cross-referencing. |
Input & Output in Matlab | Input & Output in Matlab - Part 2 | Examples of using fprintf: temperature conversion table (output to command window) and here is the version that outputs to a file. |
Interpolation | Interpolation | Polynomial 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... |
Regression | Regression - Part 1 Regression - Part 2 | Examples of regression: ball drop example and the kinetics example |
Functions in Matlab | Functions in Matlab | Example 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 |