5. Why MATLAB?
• A good choice for program development because:
• Easy to Use
• Quick to learn
• Good documentation
• A Big library for functions
• Excellent display capabilities
• Widely used for teaching and research in universities and industry
3/19/2015 Data Tools First - MATLAB 5
6. Application and Use Cases
• Numerical Computation
• Algebra, statistics, optimization,….
• Signal and Image Processing
• Communication System
• Control System
• Financial Modeling and Analysis
• Computational Biology
3/19/2015 Data Tools First - MATLAB 6
7. Algorithm/Visualization
• Supports vectors and matrix operations
• Supports data analysis process
• Supports 2-D / 3-D plotting
• Support audio & video
3/19/2015 Data Tools First - MATLAB 7
8. Built-in Functionality and Toolbox
• http://www.mathworks.com/products/?s_tid=gn_ps
3/19/2015 Data Tools First - MATLAB 8
9. Demo Programs (from RWDA)
• Visualization
• Animated 3D object
• Signal Processing
• Filtering
• audio
• Regression
• GPS
• Pattern Recognition
• K-means classification
• hand-writing detection
• Statistics
• Gaussian Mixture Model (GMM) RWDA: Advanced Lectures on Real-World Data Analysis
3/19/2015 Data Tools First - MATLAB 9
11. Purpose
• MATLAB will be used as the main tool for program in
• Advanced Lectures on Real-World Data Analysis (fall 2015)
• Everybody MUST have programming skill using MATLAB
• There will be compensation lectures on MATLAB programming from
April to September (Follow-up)
• April - May: Elementary (Basic programming, and Mathematics, Evaluation)
• June - July: Intermediate (Programming using Tool boxes)
3/19/2015 Data Tools First - MATLAB 11
12. If you are expert in MATLAB and Math
• Need to take the test
• No need to take compensation lectures
• You do not need to stay for the compensation lecture
3/19/2015 Data Tools First - MATLAB 12
13. If you have some skill in MATLAB and Math
• Need to take the test
• Attend the compensation lectures from June (Intermediate level)
• You do not need to stay for the compensation lecture (elementary)
3/19/2015 Data Tools First - MATLAB 13
14. If you are not familiar with MATLAB and Math
• No need to take the test
• Attend the compensation lectures
• First compensation lecture is from 13:00 (DTF)
3/19/2015 Data Tools First - MATLAB 14
18. Problem 3
• Given Matrix A, using (for and if) commands do the following:
• (I) Output a 9 x9 Matrix that has values of 0 and 1
• 1: if the element of Matrix A is dividable by 4
• 0: otherwise
• (ii) Output a 9 x9 Matrix that has values of 0 and 1
• 1: if the element of Matrix A is dividable
by 4 and not dividable by 5
• 0: otherwise
3/19/2015 Data Tools First - MATLAB 18
0 0 0 1 0 0 0 1 .
0 0 1 . . .
. . . . .
. . . . .
. .
19. Problem 4
• (I) Create a sine wave for variable x
• Amplitude = 5
• x = {0, 1, 2, …, 360}
• (II) Plot the sine wave
• Add title
• Add axis labels
3/19/2015 Data Tools First - MATLAB 19
20. Reference
• Textbook
• Getting Started with MATLAB
A quick Introduction for Scientists and Engineers
Author: Pudra Pratap
Oxford University Press, ISBN-13: 978-0199731244
• Others (MathWorks, MATLAB)
• http://www.mathworks.com/help/matlab/getting-started-with-matlab.html
• http://www.mathworks.com/help/pdf_doc/matlab/getstart.pdf
3/19/2015 Data Tools First - MATLAB 20