{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EE3TP4-T1-IntroductionToMatlab_Lecture 2

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

Info icon This preview shows pages 1–10. 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
Image of page 1

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

View Full Document Right 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.
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
Image of page 3

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

View Full Document Right 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
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).
Image of page 5

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

View Full Document Right Arrow Icon
MATLAB Layout Workspace Command window Command history
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
Image of page 7

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

View Full Document Right 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
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.
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern