1 / 28

MATLAB

MATLAB. Presented By: Nathalie Tacconi. Originally Prepared By: Sheridan Saint-Michel. What Is MATLAB?. The name MATLAB is an abbreviation for MATrix LABoratory

mantreh
Download Presentation

MATLAB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MATLAB Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel

  2. What Is MATLAB? • The name MATLAB is an abbreviation for MATrix LABoratory • MATLAB is an “interactive, matrix-based system for algorithm development, GUI Design, data analysis, data visualization, and numeric computation”.

  3. What Is MATLAB? • A way to solve complex numerical problems without actually writing a program • Built-in tools • No program structuring • MATLAB focuses on ease of use and quick development

  4. 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

  5. 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

  6. Available Environments • MATLAB is available in a number of environments including: • PCs • Apple - Macintosh • Sun Workstations • VAX • MicroVAX

  7. 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++.

  8. The Basics • Starting Screen

  9. 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 where any problems are in addition to what changes can be made to make your program run faster.

  10. Development Tools • MATLAB editor

  11. Development Tools • MATLAB profiler

  12. Development Tools • M-Lint Code Checker

  13. Common Uses • Developing Algorithms • Data Analysis • Data Visualization • Designing Graphical User Interfaces (GUI) • Numeric Computation

  14. 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.

  15. Data Analysis • MATLAB provides interactive tools and command-line functions for data analysis operations including: • Interpolating and decimating • Extracting sections of data, scaling, and averaging • Thresholding and smoothing • Correlation, Fourier analysis, and filtering • 1-D peak, valley, and zero finding • Basic statistics and curve fitting • Matrix analysis

  16. Data Analysis • Curve fitting

  17. 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 • A computer’s serial port or sound card

  18. 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

  19. Data Visualization • 2-D plotting

  20. Data Visualization • 3-D plotting and volume visualization

  21. Data Visualization • Creating and editing plots interactively

  22. Designing GUIs • MATLAB provides a tool called a GUIDE (Graphical User Interface Development Environment) which lets you quickly design, layout, and edit user interfaces.

  23. Designing GUIs • GUIDE

  24. 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 and filtering • Data analysis and statistics • Optimization and numerical integration • Ordinary differential equations (odes) • Partial differential equations (PDEs) • Sparse matrix operations

  25. Numeric Computation • MATLAB provides the ability to add toolboxes - extensions which add additional functionality. • There are many toolboxes made by professional engineers and mathematicians ready for downloading.

  26. Numeric Computation • Toolboxes have been created dealing with CSE topics: • Working with linked lists, stacks, and queues (CSE 1320) • Binary trees and red-black trees (CSE 2320) • Physics Problems (both physical and electromagnetic) • Circuit analysis

  27. 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.

  28. Questions & References ? References: http://www.mathworks.com/products/matlab http://www.mathtools.net/MATLAB/index.html

More Related