Swanson Engineering Simulation Program
Sibley School of Mechanical and
Aerospace Engineering
Cornell University
MATLAB
MATLAB from The MathWorks is a high-level language and interactive environment for numerical computation and data visualization.
It is the standard tool for technical computing used in our classes.
MATLAB TUTORIALS FROM CORNELL UNIVERSITY
Introductory MATLAB Tutorial An extended introduction that discusses important MATLAB basics such as functions and vectorization. It shows how you can figure out most things yourself by properly navigating the online documentation. It emphasizes developing code incrementally, testing obsessively at each stage.
Structures and Handles An intermediate-level tutorial on structured programming in MATLAB using structures and handles in the context of finite-element analysis. It shows how you can figure out most things yourself by properly navigating the online documentation. It emphasizes developing code incrementally, testing obsessively at each stage.
redAnTS TUTORIAL #1 redAnTS is a free MATLAB toolbox developed at Cornell University for performing 2D finite-element analysis. This introductory redAnTS tutorial takes you through the steps used for solving a simple solid mechanics problem: a humble rectangular block in uniaxial tension. The computational results are validated by comparing with the solution from elementary theory. (To come: a link for downloading redAnTS).
redAnTS TUTORIAL #2 This redAnTS tutorial solves a beam bending problem and in the process shows you how to generate a mesh using the CSG Mesh Tool. It also shows you how to set boundary conditions at a point in redAnTS. You need a license to the PDE Toolbox to run the CSG Mesh Tool. Also, this mesher was developed in MATLAB version 7.0. We haven't had the time to upgrade it to later MATLAB versions. This means that in MATLAB version 7.4 or later, you'll get warnings about obsolete functions while running this mesher. We know it's ugly and not a good practice but you can ignore these warnings for now.
MATLAB 101
MATLAB
Basics Tutorial If you are unfamiliar with MATLAB or have a very foggy
memory of it, go through this quick tutorial from the University of Michigan
and Carnegie Mellon University.
Making
Plots in MATLAB A quick introductory tutorial on plotting in MATLAB
from the same site.
Introduction
to M-files An "M-file" is a simple text file containing
your MATLAB code. Indispensable for writing even simple programs in MATLAB.
Dealing
with Errors in MATLAB The plan of action when MATLAB refuses to do
what you want it to and some common mistakes.
A
More Comprehensive Introduction Covers basic concepts such as element-wise operations, loops,
if statements, functions, etc. necessary to become a competent
MATLAB programmer. It's well worth your time to go through the material
in this introduction as you move beyond simple MATLAB programs. Includes
an index.
Further MATLAB
Fitting
Polynomial Models to Data A succinct description of how to "fit
a line" to a set of data using MATLAB.
Setting
up and solving a set of linear algebraic equations
Debugging
M-files
Improving
the Speed of MATLAB Calculations
Control
Tutorials An extensive set of tutorials on using MATLAB for the analysis
and design of automatic control systems.
Frequently Asked Questions (FAQ)
Look for answers to your question in this short
FAQ or this short
FAQ.
If your question is still unanswered, turn to this large
FAQ from The MathWorks. The "Frequently Asked Questions"
are under "Solutions by Category".
|