{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EE3TP4-T1-IntroductionToMatlab_Lecture 2

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

This preview shows pages 1–10. Sign up to view the full content.

EE 3TP4 Introduction to MATLAB G. Badawy and T. Todd McMaster University

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

View Full Document
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.
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

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

View Full Document
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
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).

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

View Full Document
MATLAB Layout Workspace Command window Command history
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

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

View Full Document
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
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.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern