Lab of comp 406 Introduction of Matlab) Teaching Assistant: Pei-Yuan Zhou Contact: cspyzhou(@comp. polyu.edu. hk Lab 1: 12 Sep, 2014
1 Lab of COMP 406 Teaching Assistant: Pei-Yuan Zhou Contact: cspyzhou@comp.polyu.edu.hk Lab 1: 12 Sep., 2014 Introduction of Matlab (I)
Outline Matlab description Where is matlab · What is matlab Matlab Desktop MATLAB Math Operators Matrix and Array Creation, Operation. Concatenation Workspace variables Calling Functions
Outline ➢ Matlab Description • Where is Matlab • What is Matlab • Matlab Desktop • MATLAB Math Operators ➢ Matrix and Array • Creation, Operation, Concatenation ➢ Workspace Variables ➢ Calling Functions 2
What iS matlab? MATLAB MATrix LABoratory: matlab is a program for doing numerical computation. It was originally designed for solving linear algebra type problems using matrices. It's name is derived from MATrix Laboratory MatLab has since been expanded and now has built-in functions for solving problems requiring data analysis, signal rocessing optimization and several other types of scientific computations. It also contains functions for 2-D and 3-D graphics and animation
3 What is MATLAB ? • MATLAB – MATrix LABoratory: MATLAB is a program for doing numerical computation. It was originally designed for solving linear algebra type problems using matrices. It’s name is derived from MATrix LABoratory. – MATLAB has since been expanded and now has built-in functions for solving problems requiring data analysis, signal processing, optimization, and several other types of scientific computations. It also contains functions for 2-D and 3-D graphics and animation
Where is matlab? Find the matlab under the folder 1. Y: Win32 Matlab R2012a 2. Double click it and open Matlab Or open matlab on your computer 1. Click 'Start' 2. Click Run 3. Input ' nalwin32' 4. Find the Matlab under the folder /Network application Packages/Statistical Mathematical/Matlab Send shortcut to your folder, for example: J: starry If you have any problem, please contact the technical staffs in P0608(P508). They are very nice and helpful
Where is Matlab? • Find the Matlab under the folder – 1. Y:\Win32\Matlab\R2012a – 2. Double click it and open Matlab • Or open Matlab on your computer – 1. Click 'Start' – 2. Click 'Run' – 3. Input 'nalwin32' – 4. Find the Matlab under the folder /Network Application Packages/Statistical & Mathematical/Matlab • Send shortcut to your folder, for example: J:\starry If you have any problem, please contact the technical staffs in PQ608 (P508). They are very nice and helpful. 4
MATLAB Description Considering matlab at home Standard edition Available for roughly 2 thousand dollars Student edition Available for roughly I hundred dollars Some limitations such as the allowable size of a matrix http:/www.mathworks.com/products/matlab/
5 MATLAB Description • Considering MATLAB at home – Standard edition • Available for roughly 2 thousand dollars – Student edition • Available for roughly 1 hundred dollars. • Some limitations, such as the allowable size of a matrix http://www.mathworks.com/products/matlab/