05-04-2011, 10:26 AM
[attachment=11719]
MATLAB
- The Language Of Technical Computing
• MATLAB is a high-level language and interactive environment for algorithm development,data visualisation,data analysis and numeric computation .
• enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.
Features.
• High-level language for technical computing.
• Development environment for managing code, files, and data.
• Mathematical functions for linear algebra, statistics, Fourier analysis, filtering, optimization, and numerical integration.
• 2-D and 3-D graphics functions for visualizing data.
• Interactive tools for iterative exploration, design, and problem solving.
• Tools for building custom graphical user interfaces.
• Functions for integrating MATLAB based algorithms with external applications and languages, such as C, C++, Fortran, Java, COM, and Microsoft Excel.
Typical uses include:
• Math and computation
• Algorithm development
• Data acquisition
• Modeling, simulation, and prototyping
• Data analysis, exploration, and visualization
• Scientific and engineering graphics
• Application development, including graphical user interface building
• The name MATLAB stands for matrix laboratory.
• In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis.
• MATLAB features a family of add-on application-specific solutions called toolboxes.
• Toolboxes are comprehensive collections of MATLAB functions (M-files). You can add on toolboxes for signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many other areas.
The MATLAB system consists of these main parts:
• Desktop Tools and Development Environment
-set of tools that help you use and become more productive with MATLAB functions and files.
• Mathematical Function Library
-a vast collection of computational algorithms to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms.
• Graphics-high-level functions for 2D and 3D data visualization, image processing, animation, and presentation graphics.
Matlab in mathematics:
The best way for you to get started with MATLAB is to learn how to handle matrices.
• Enter an explicit list of elements.
• Separate the elements of a row with blanks or commas.
• Use a semicolon, ; , to indicate the end of each row.
• Surround the entire list of elements with square brackets, [ ].
• simply type in the Command Window
A = [16 3 2 13; 5 10 11 8; 9 6 7 12; 4 15 14 1]
MATLAB displays the matrix you just entered:
• A =
16 3 2 13
5 10 11 8
9 6 7 12
4 15 14 1
• functions can be used to create a pair of 3-by-3 matrix,eg:
• A = pascal(3) -produce a symmetric matrix.
• A = magic(3) -a non symmetric matrix.
• Addition of matrices:
• A = pascal(3); B = magic(3); X = A + B
Matlab in Graphics:
• The basic MATLAB data structure is the array. An array is naturally suited to the representation of images, real-valued, ordered sets of color or intensity data.
• MATLAB math supports three different numeric classes for image display:
• double-precision floating-point (double)
• 16-bit unsigned integer (uint16)
• 8-bit unsigned integer (uint8)
Functions for Reading, Writing, and Displaying Images:
• Embedded Matlab
• Embedded MATLAB is a subset of the MATLAB language.
• The Embedded MATLAB subset supports efficient code generation for prototyping and deploying embedded systems, and accelerating of fixed-point algorithms.
• It consists of more than 270 MATLAB operators and functions and more than 90 functions from Fixed-Point Toolbox software.
GUIDE
• GUIDE, the MATLAB graphical user interface development environment, provides a set of tools for creating graphical user interfaces (GUIs). These tools greatly simplify the process of designing and building GUIs.
Help to perform following tasks:
-Lay out the GUI:easily clicking and dragging GUI components.
-Program the GUI:GUIDE automatically generates an M-file that controls how the GUI operates.
Toolbox
Various toolbox are available in Matlab for different purposes:
• Bioinformatics toolbox.
• Financial toolbox.
• Fuzzy logic toolbox.
• Database toolbox.
• Image processing toolbox, etc.
Image processing toolbox
• The Image Processing Toolbox software is a collection of functions that extend the capability of the MATLAB numeric computing environment.
• The toolbox supports a wide range of image processing operations, including:
-Spatial image transformations
-Morphological operations
-Transforms
-Image analysis and enhancement
-Image registration and deblurring.
• Image types.
• Converting b/w image types.
Simulink
• Simulink is a software package that enables you to model, simulate, and analyze systems whose outputs change over time.
• Such systems are often referred to as dynamic systems.
• The Simulink software can be used to explore the behavior of a wide range of real-world dynamic systems, including electrical circuits, shock absorbers, braking systems, and many other electrical, mechanical, and thermodynamic systems.
Simulating a dynamic system is a two-step process.
• First, a user creates a block diagram, using the Simulink model editor.
• The user then commands the Simulink software to simulate the system represented by the model from a specified start time to a specified stop time.
• With the Simulink software you can create multiple model configurations, called configuration sets, modify existing configuration sets, and switch configuration sets .
Real time workshop technology.
• Real-Time Workshop® technology generates C or C++ source code and executables for algorithms that you model graphically in the Simulink environment or programmatically with the Embedded MATLAB language subset.
• You can generate code for any Simulink blocks and MATLAB functions that are useful for real-time or embedded applications.
Conclusion
• We can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and mesurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions) extend the MATLAB environment to solve particular classes of problems in these application areas.