Download - MatLab
MATLAB
Presented By:Nathalie Tacconi
Presented By:Nathalie Tacconi
Originally Prepared By:
Sheridan Saint-Michel
Originally Prepared By:
Sheridan Saint-Michel
What Is MATLAB?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”.
• 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”.
What Is MATLAB?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
• 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
Why Use MATLAB?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
• 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
• MATLAB is used for a wide range of applications including:• Signal and Image Processing• Communications• Control Design• Testing and Analysis• Financial Modelling• Computational Biology
• MATLAB is used for a wide range of applications including:• Signal and Image Processing• Communications• Control Design• Testing and Analysis• Financial Modelling• Computational Biology
Why Use MATLAB?Why Use MATLAB?
Available EnvironmentsAvailable Environments
• MATLAB is available in a number of environments including:• PCs• Apple - Macintosh • Sun Workstations• VAX• MicroVAX
• MATLAB is available in a number of environments including:• PCs• Apple - Macintosh • Sun Workstations• VAX• MicroVAX
The BasicsThe 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++.
• 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 BasicsThe Basics• Starting Screen• Starting Screen
Development ToolsDevelopment 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.
• 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.
Development ToolsDevelopment Tools• MATLAB editor• MATLAB editor
Development ToolsDevelopment Tools• MATLAB profiler• MATLAB profiler
Development ToolsDevelopment Tools• M-Lint Code Checker• M-Lint Code Checker
Common UsesCommon Uses
• Developing Algorithms
• Data Analysis
• Data Visualization
• Designing Graphical User Interfaces (GUI)
• Numeric Computation
• Developing Algorithms
• Data Analysis
• Data Visualization
• Designing Graphical User Interfaces (GUI)
• Numeric Computation
Developing AlgorithmsDeveloping 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.
• 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 AnalysisData 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
• 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
Data AnalysisData Analysis• Curve fitting• Curve fitting
Data AnalysisData 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
• 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
Data VisualizationData 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
• 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
• 2-D plotting• 2-D plotting
Data VisualizationData Visualization
• 3-D plotting and volume visualization• 3-D plotting and volume visualization
Data VisualizationData Visualization
• Creating and editing plots interactively• Creating and editing plots interactively
Data VisualizationData Visualization
Designing GUIsDesigning GUIs
• MATLAB provides a tool called a GUIDE (Graphical User Interface Development Environment) which lets you quickly design, layout, and edit user interfaces.
• MATLAB provides a tool called a GUIDE (Graphical User Interface Development Environment) which lets you quickly design, layout, and edit user interfaces.
Designing GUIsDesigning GUIs• GUIDE• GUIDE
Numeric ComputationNumeric 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
• 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
Numeric ComputationNumeric 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.
• 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.
Numeric ComputationNumeric 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
• 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
SummarySummary
• 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.
• 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.
Questions & ReferencesQuestions & References
References:
http://www.mathworks.com/products/matlab
http://www.mathtools.net/MATLAB/index.html
References:
http://www.mathworks.com/products/matlab
http://www.mathtools.net/MATLAB/index.html
?