Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:matlab}
MATLAB from [The MathWorks|http://www.mathworks.com/] 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.

\\

h4. MATLAB TUTORIALS FROM CORNELL UNIVERSITY


----

[*Introductory MATLAB Learning Module*|MATLAB Intro Problem Specification] 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*|MATLAB Structures and Handles Overview] 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 TUTORIAL 1 Problem Specification] _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*|redAnTS TUTORIAL 2 Problem Specification] 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.

\\

h4. MATLAB 101


----

[MATLAB Basics Tutorial|http://www.engin.umich.edu/group/ctm/basic/basic.html] 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|http://www.engin.umich.edu/group/ctm/extras/plot.html] A quick introductory tutorial on plotting in MATLAB from the same site.

[Introduction to M-files|http://www.engin.umich.edu/group/ctm/extras/mfile.html] 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|http://www.facstaff.bucknell.edu/maneval/help211/errors.html] The plan of action when MATLAB refuses to do what you want it to and some common mistakes.

[A More Comprehensive Introduction|http://web.mit.edu/afs/.athena/astaff/project/logos/olh/Math/Matlab/Matlab.html] 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.

\\

h4. Further MATLAB


----

[Fitting Polynomial Models to Data|http://www.facstaff.bucknell.edu/maneval/help211/fitting.html] 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|http://www.facstaff.bucknell.edu/maneval/help211/linalg.html]

[Debugging M-files|http://web.mit.edu/answers/matlab/matlab_debugging.html]

[Improving the Speed of MATLAB Calculations|http://www.me.pdx.edu/%7Egerry/MATLAB/programming/performance.html]

[Control Tutorials|http://www.engin.umich.edu/group/ctm/] An extensive set of tutorials on using MATLAB for the analysis and design of automatic control systems.

\\

h4. Frequently Asked Questions (FAQ)


----

Look for answers to your question in [this short FAQ|http://www.facstaff.bucknell.edu/maneval/help211/howdoi.html] or [this short FAQ|http://web.mit.edu/answers/matlab/index.html].

If your question is still unanswered, turn to [this large FAQ from The MathWorks|http://www.mathworks.com/support/product/product.html?product=ML]. The "Frequently Asked Questions" are under "Solutions by Category".

Learning modules which have not yet been migrated to this space can be found [here|http://www.mae.cornell.edu/swanson/matlab.html].

Even more information can be found at [Mathworks, Inc.|http://www.mathworks.com]