EE3TP4-T1-IntroductionToMatlab_Lecture 2

EE3TP4-T1-IntroductionToMatlab_Lecture 2 - EE 3TP4...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
EE 3TP4 Introduction to MATLAB G. Badawy and T. Todd McMaster University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is MATLAB MATLAB (MATrix LABoratory) MATLAB is developed by MathWorks, Inc. MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. It is widely used to solve different types of scientific problems.
Background image of page 2
What is MATLAB (Cont’d) How high? MATLAB can be install on Unix, Windows and Mac. Assembly High Level Languages such as C, Pascal etc. Matlab
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History of MATLAB Ancestral software to MATLAB Fortran subroutines for solving linear (LINPACK) and eigenvalue (EISPACK) problems Developed primarily by Cleve Moler in the 1970’s In 1970, Cleve Moler, the chairman of the computer science department at University of New Mexico, designed MATLAB to give his students to access LINPACK and EISPACK without requiring knowledge of Fortran
Background image of page 4
History of MATLAB (Cont’d) It soon spread to other universities and found a strong audience within the applied mathematics community. In1984, Jack Little, Cleve Moler and Steve Bangert rewrote MATLAB in C with more functionality (such as plotting routines).
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MATLAB Layout Workspace Command window Command history
Background image of page 6
MATLAB Layout (Cont’d) The main window is the dynamic command window which allows the user to issue Matlab commands Current Directory View folders and files Workspace View program variables Double click on a variable to see it in the Array Editor Command History view past commands save a whole session using diary
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Matlab Programming Environment Matlab (Matrix Laboratory) is a dynamic, interpreted , environment for matrix/vector analysis Variables are created at run-time, matrices are dynamically re-sized, … User can build programs (in .m files or at command line) using a C/Java-like syntax Ideal environment for model building, system identification and control (both discrete and continuous time Wide variety of libraries (toolboxes) available
Background image of page 8
Strengths of MATLAB MATLAB is relatively easy to learn. MATLAB code is optimized to be relatively quick when performing matrix operations. MATLAB may behave like a calculator or as a programming language. MATLAB is interpreted, errors are easier to fix. Although primarily procedural, MATLAB does have some object-oriented elements
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Strengths of MATLAB 2-D and 3-D graphics functions for visualizing data Tools for building custom graphical user interfaces Functions for integrating MATLAB based algorithms with external applications and languages, such as C, C++, Fortran, Java, COM, and Microsoft Excel
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/01/2011 for the course ECE 3TP4 taught by Professor Drterrencetodd during the Fall '10 term at McMaster University.

Page1 / 41

EE3TP4-T1-IntroductionToMatlab_Lecture 2 - EE 3TP4...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online