AMATH 352 MATLAB Tutorial written by Peter Blossey Department of …

AMATH 352 MATLAB Tutorial written by Peter Blossey Department of ...Short Description
AMATH 352: MATLAB Tutorial. written by. Peter Blossey. Department of Applied Mathematics. University of Washington. Seattle, WA. MATLAB (short for MATrix …

Website: www-personal.umich.edu | Filesize: 78kb

Content
AMATH 352: MATLAB Tutorial
written by
Peter Blossey
Department of Applied Mathematics
University of Washington
Seattle, WA
MATLAB (short for MATrix LABoratory) is a very useful piece of software for
numerical analysis. It provides an environment for computation and visualization.
Learning MATLAB is not the goal of this course, but a working knowledge of MATLAB
will allow you to implement and test the algorithms that form the heart of this
course. Seeing these algorithms at work will hopefully enable a deeper understanding
of the mechanics, strengths and pitfalls of each algorithm.
Starting MATLAB
To start MATLAB, click on the MATLAB icon or type matlab at the command
line prompt. To exit, type quit.
Entering Variables
There are three types of variables that you can use in matlab: scalars, vectors and
matrices. To assign a value to a scalar variable, type
>> x = 0.2
After hitting return, MATLAB will echo the value of the variable back to you:
x =
0.2000
If you don’t want to see the value of the variable, add a semicolon at the end of the
line:
>> x = 0.2;
To enter a vector or matrix, use square brackets to indicate the start and…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • 1 MATLAB Tutorial This tutorial is available as a supplement to …
  • MATLAB tutorial (by Oren Shriki)
  • Introduction to MATLAB
  • MATLAB Tutorial
  • 16.06 16.07 MATLAB & Simulink Tutorial
  • SIMULINK A Tutorial by Tom Nguyen
  • An Introduction to Matlab David F. Griffiths
  • programming in matlab

  • Related Searches: , , , ,



    Comments

    Leave a Reply