MatLab

3,770 views

Published on

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,770
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
344
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

MatLab

  1. 1. MATLAB Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel
  2. 2. What Is MATLAB? <ul><li>The name MATLAB is an abbreviation for MATrix LABoratory </li></ul><ul><li>MATLAB is an “interactive, matrix-based system for algorithm development, GUI Design, data analysis, data visualization, and numeric computation”. </li></ul>
  3. 3. What Is MATLAB? <ul><li>A way to solve complex numerical problems without actually writing a program </li></ul><ul><ul><li>Built-in tools </li></ul></ul><ul><ul><li>No program structuring </li></ul></ul><ul><li>MATLAB focuses on ease of use and quick development </li></ul>
  4. 4. Why Use MATLAB? <ul><li>Used mainly for algorithm development and data visualization </li></ul><ul><ul><li>Algorithms can be implemented and tested more quickly and easily than with traditional programming languages </li></ul></ul><ul><ul><li>Quickly get numerical and graphic answers to matrix and vector related math problems </li></ul></ul>
  5. 5. <ul><li>MATLAB is used for a wide range of applications including: </li></ul><ul><ul><li>Signal and Image Processing </li></ul></ul><ul><ul><li>Communications </li></ul></ul><ul><ul><li>Control Design </li></ul></ul><ul><ul><li>Testing and Analysis </li></ul></ul><ul><ul><li>Financial Modelling </li></ul></ul><ul><ul><li>Computational Biology </li></ul></ul>Why Use MATLAB?
  6. 6. Available Environments <ul><li>MATLAB is available in a number of environments including: </li></ul><ul><ul><li>PCs </li></ul></ul><ul><ul><li>Apple - Macintosh </li></ul></ul><ul><ul><li>Sun Workstations </li></ul></ul><ul><ul><li>VAX </li></ul></ul><ul><ul><li>MicroVAX </li></ul></ul>
  7. 7. The Basics <ul><li>MATLAB contains elaborate development tools to ease and speed development </li></ul><ul><li>MATLAB uses its own unique high-level language </li></ul><ul><li>Using MATLAB’s tools lets you write and test using much fewer lines of code than C or C++. </li></ul>
  8. 8. The Basics <ul><li>Starting Screen </li></ul>
  9. 9. Development Tools <ul><li>MATLAB editor - provides standard editing and debugging features, such as breakpoints and stepping through. </li></ul><ul><li>MATLAB profiler - records the time spent executing each line of code. </li></ul><ul><li>M-lint code checker - analyses your code and tells you where any problems are in addition to what changes can be made to make your program run faster. </li></ul>
  10. 10. Development Tools <ul><li>MATLAB editor </li></ul>
  11. 11. Development Tools <ul><li>MATLAB profiler </li></ul>
  12. 12. Development Tools <ul><li>M-Lint Code Checker </li></ul>
  13. 13. Common Uses <ul><li>Developing Algorithms </li></ul><ul><li>Data Analysis </li></ul><ul><li>Data Visualization </li></ul><ul><li>Designing Graphical User Interfaces (GUI) </li></ul><ul><li>Numeric Computation </li></ul>
  14. 14. Developing Algorithms <ul><li>The use of MATLAB’s own high-level language and development tools allow you to develop and analyze algorithms faster and easier. </li></ul><ul><li>Using MATLAB’s tools lets you write and test algorithms using much fewer lines of code than C or C++. </li></ul><ul><li>MATLAB allows you to use traditional programming features, such as arithmetic operations, flow control, data structures, and object-oriented programming if desired. </li></ul>
  15. 15. Data Analysis <ul><li>MATLAB provides interactive tools and command-line functions for data analysis operations including: </li></ul><ul><ul><li>Interpolating and decimating </li></ul></ul><ul><ul><li>Extracting sections of data, scaling, and averaging </li></ul></ul><ul><ul><li>Thresholding and smoothing </li></ul></ul><ul><ul><li>Correlation, Fourier analysis, and filtering </li></ul></ul><ul><ul><li>1-D peak, valley, and zero finding </li></ul></ul><ul><ul><li>Basic statistics and curve fitting </li></ul></ul><ul><ul><li>Matrix analysis </li></ul></ul>
  16. 16. Data Analysis <ul><li>Curve fitting </li></ul>
  17. 17. Data Analysis <ul><li>MATLAB provides functions to input data easily from various sources. </li></ul><ul><li>MATLAB can read data from sources including: </li></ul><ul><ul><li>Excel spreadsheets </li></ul></ul><ul><ul><li>Text files </li></ul></ul><ul><ul><li>Standard image, sound, and video files </li></ul></ul><ul><ul><li>Web pages </li></ul></ul><ul><ul><li>A computer’s serial port or sound card </li></ul></ul>
  18. 18. Data Visualization <ul><li>With MATLAB you can graph/draw complicated structures easily. </li></ul><ul><li>Extremely useful for visual representations of mathematical formulas. </li></ul><ul><li>Several powerful tools exist for: </li></ul><ul><ul><li>2-D and 3-D plotting </li></ul></ul><ul><ul><li>3-D volume representation </li></ul></ul><ul><ul><li>Interactive graphing </li></ul></ul><ul><ul><li>Importing and exporting to standard graphic types </li></ul></ul>
  19. 19. <ul><li>2-D plotting </li></ul>Data Visualization
  20. 20. <ul><li>3-D plotting and volume visualization </li></ul>Data Visualization
  21. 21. <ul><li>Creating and editing plots interactively </li></ul>Data Visualization
  22. 22. Designing GUIs <ul><li>MATLAB provides a tool called a GUIDE (Graphical User Interface Development Environment) which lets you quickly design, layout, and edit user interfaces. </li></ul>
  23. 23. Designing GUIs <ul><li>GUIDE </li></ul>
  24. 24. Numeric Computation <ul><li>MATLAB has built in functions to handle the following types of math problems: </li></ul><ul><ul><li>Matrix manipulation and linear algebra </li></ul></ul><ul><ul><li>Polynomials and interpolation </li></ul></ul><ul><ul><li>Fourier analysis and filtering </li></ul></ul><ul><ul><li>Data analysis and statistics </li></ul></ul><ul><ul><li>Optimization and numerical integration </li></ul></ul><ul><ul><li>Ordinary differential equations (odes) </li></ul></ul><ul><ul><li>Partial differential equations (PDEs) </li></ul></ul><ul><ul><li>Sparse matrix operations </li></ul></ul>
  25. 25. Numeric Computation <ul><li>MATLAB provides the ability to add toolboxes - extensions which add additional functionality. </li></ul><ul><li>There are many toolboxes made by professional engineers and mathematicians ready for downloading. </li></ul>
  26. 26. Numeric Computation <ul><li>Toolboxes have been created dealing with CSE topics: </li></ul><ul><ul><li>Working with linked lists, stacks, and queues (CSE 1320) </li></ul></ul><ul><ul><li>Binary trees and red-black trees (CSE 2320) </li></ul></ul><ul><ul><li>Physics Problems (both physical and electromagnetic) </li></ul></ul><ul><ul><li>Circuit analysis </li></ul></ul>
  27. 27. Summary <ul><li>MATLAB is easy to learn and easy to use. </li></ul><ul><li>Modelling, developing, and testing is faster and easier using MATLAB than regular traditional tools. </li></ul><ul><li>GUIs, 2-D data representations, and 3-D data representations are easy to create. </li></ul><ul><li>Toolboxes can extend MATLAB’s functionality to tackle almost any problem. </li></ul>
  28. 28. Questions & References <ul><li>References: </li></ul><ul><li>http://www.mathworks.com/products/matlab </li></ul><ul><li>http://www.mathtools.net/MATLAB/index.html </li></ul>?

×