STANDARD INTRODUCTION • I LOOK LIKE- Why Use MATLAB? • Used mainly for algorithm development and data visualization • Algorithms can be implemented and tested more quickly and easily than with traditional programming languages • Quickly get numerical and graphic answers to matrix and vector related math problems Why Use MATLAB? • MATLAB is used for a wide range of applications including: • Signal and Image Processing • Communications • Control Design • Testing and Analysis • Financial Modelling • Computational Biology The Basics • MATLAB contains elaborate development tools to ease and speed development • MATLAB uses its own unique high-level language • Using MATLAB’s tools lets you write and test using much fewer lines of code than C or C++. The Basics • Starting Screen Development Tools • MATLAB editor - provides standard editing and debugging features, such as breakpoints and stepping through. • MATLAB profiler - records the time spent executing each line of code. • M-lint code checker - analyses your code and tells you if there is any problem. In addition to what changes can be made to make your program run faster. Development Tools • MATLAB editor Development Tools • MATLAB profiler Development Tools • M-Lint Code Checker Common Uses • Developing Algorithms • Data Analysis • Data Visualization • Designing Graphical User Interfaces (GUI) • Numeric Computation Developing Algorithms • The use of MATLAB’s own high-level language and development tools allow you to develop and analyze algorithms faster and easier. • Using MATLAB’s tools lets you write and test algorithms using much fewer lines of code than C or C++. • MATLAB allows you to use traditional programming features, such as arithmetic operations, flow control, data structures, and object-oriented programming if desired. Data Analysis • MATLAB provides functions to input data easily from various sources. • MATLAB can read data from sources including: • Excel spreadsheets • Text files • Standard image, sound, and video files • Web pages Data Visualization • With MATLAB you can graph/draw complicated structures easily. • Extremely useful for visual representations of mathematical formulas. • Several powerful tools exist for: • 2-D and 3-D plotting • 3-D volume representation • Interactive graphing • Importing and exporting to standard graphic types Data Visualization • 2-D plotting Data Visualization • 3-D plotting and volume visualization Designing GUIs • MATLAB provides a tool called a GUIDE (Graphical User Interface Development Environment) which lets you quickly design, layout, and edit user interfaces. Numeric Computation • MATLAB has built in functions to handle the following types of math problems: • Matrix manipulation and linear algebra • Polynomials and interpolation • Fourier analysis • Data analysis and statistics • Optimization and numerical integration • Ordinary differential equations • Partial differential equations Summary • MATLAB is easy to learn and easy to use. • Modelling, developing, and testing is faster and easier using MATLAB than regular traditional tools. • GUIs, 2-D data representations, and 3-D data representations are easy to create. • Toolboxes can extend MATLAB’s functionality to tackle almost any problem. References