Microsoft PowerPoint - Introduction to Matlab1

Microsoft PowerPoint - Introduction to Matlab1 - MATLAB...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MATLAB MATLAB MATLAB MATLAB MATLAB MATLAB MATLAB MATLAB PART PART PART PART PART PART PART PART 1 PREPARED BY PREPARED BY PREPARED BY PREPARED BY PREPARED BY PREPARED BY PREPARED BY PREPARED BY S. M. S. M. S. M. S. M. S. M. S. M. S. M. S. M. RAFIGH RAFIGH RAFIGH RAFIGH RAFIGH RAFIGH RAFIGH RAFIGH 2011 2011 2011 2011 2011 2011 2011 2011 COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. COURSE BY : PROF. HOSSEINI HOSSEINI HOSSEINI HOSSEINI HOSSEINI HOSSEINI HOSSEINI HOSSEINI Outline: b What is Matlab? • Matlab Screen • Variables, array, matrix, indexing • Operators (Arithmetic, relational, logical ) • Display Facilities • Flow Control • Using of M-File • Writing User Defined Functions • Conclusion What is Matlab? • Matlab is basically a high level language which has many specialized toolboxes for making things easier for us • How high? Matlab Assembly High Level Languages such as C, Pascal etc. What are we interested in? • Matlab is too broad for our purposes in this course. • The features we are going to require is Matlab eries of Command Line m-files functions mat-files Command execution like DOS command window Series of Matlab commands Input Output capability Data storage/ loading Matlab Screen • Command Window – type commands • Current Directory – View folders and m-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 Variables • No need for types. i.e., • All variables are created with double precision unless int a; double b; float c; specified and they are matrices....
View Full Document

Page1 / 34

Microsoft PowerPoint - Introduction to Matlab1 - MATLAB...

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

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