Summer training introduction to matlab


Published on

CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.

Published in: Education
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Summer training introduction to matlab

  1. 1. Introduction to MATLAB By: Krishna Mohan Pandey
  2. 2. MATLAB The name MATLAB stands for MATrix LABoratory. MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming environment. It was originally designed for solving linear algebra type problems using matrices.
  3. 3. MATLAB (contd..) The MATLAB environment is command oriented somewhat like UNIX. A prompt appears on the screen and a MATLAB statement can be entered. MATLAB now has built-in functions for solving problems requiring data analysis, signal processing, optimization, and several other types of scientific computations. It also contains functions for 2-D and 3-D graphics and animation.
  4. 4. MATLAB system consists of these main parts: Desktop Tools and Development Environment  Includes the MATLAB desktop and Command Window, an editor and debugger, a code analyzer, browsers for viewing help, the workspace, files, and other tools Mathematical Function Library Vast collection of computational algorithms ranging from elementary functions, like sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms.
  5. 5.  The Language The MATLAB language is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. Graphics MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as editing and printing these graphs. It also includes functions that allow you to customize the appearance of graphics as well as build complete graphical user interfaces on your MATLAB applications. External Interfaces The external interfaces library allows you to write C and Fortran programs that interact with MATLAB.
  6. 6. History of MATLAB Developed primarily by Cleve Moler in the 1970s using FORTRAN subroutines. Rewritten in C in the 1980s with more functionality, which also include plotting features. The MathWorks Inc. was created (1984) to market and continue development of MATLAB.
  7. 7. PRECEDENCE OF MATLABHIGHER LEVEL LANGUAGE Matlab High Level Languages such as C, Pascal etc. Assembly
  8. 8. Files structure and commands MatlabSeries of Matlab commands Command m-files mat-files Line Command execution Data storage/ functions like DOS loading command window Input Output capability
  9. 9. Some Glimpses of the power of MATLAB
  10. 10. Some Glimpses of the power of MATLAB
  11. 11. Bode Plot and Nyquist Plot Control System Toolbox The values of gain and phase margin and corresponding frequencies are Gm = 29.8637 Pm = 72.8960 Wcg = 39.9099 Wcp = 0.9036 MATLAB Control Toolbox
  12. 12. Some Glimpses of the power of MATLAB
  13. 13. Some Glimpses of the power of MATLAB
  14. 14. What can we do in MATLAB ? Numerical computation and symbolic calculations Data processing Programming Visualization GUI ( Graphical User Interface) System modeling and simulation Design Games
  15. 15. MATLAB GRAPHICS It has the extended graphical capability. The various plots are:  2-D plots  3-D plots  Scatter plots  Mesh plots  Surface plots
  16. 16. Scatter Plot
  17. 17. Simulink Simulink software models, simulates, and analyzes dynamic systems. Simulink supports linear and nonlinear systems, modeled in continuous time, sampled time, or a hybrid of the two. Used to model and solve real problems in a variety of industries, including: • Aerospace and Defense • Automotive • Communications • Electronics and Signal Processing • Medical Instrumentation
  18. 18. Example
  19. 19. MATLAB Toolboxes Control System Toolbox Image Processing Toolbox Signal Processing Toolbox Financial toolbox Statistical Toolbox Communication Toolbox Neural Network Toolbox Fuzzy Logic Toolbox Aerospace Toolbox Fixed Income Toolbox
  20. 20. Strengths of MATLAB MATLAB may behave as a calculator or as a programming Language. MATLAB combines calculation and graphic plotting. MATLAB is relatively easy to learn. MATLAB is interpreted (not compiled), errors are easy to fix. MATLAB is optimized to be relatively fast when performing matrix operations.
  21. 21. Scope of MATLAB Academics and scientific research. Defense applications Space exploration Artificial Intelligence Bio-informatics and medical science Forecasting Plant modelling Finance Security Systems Communication & Networking
  22. 22. Career Prospects Electronics Communication Chemical Biomedical Software industries Finance companies Instrument manufacturers Plant designingNote:- It has extensive use in R&D department of almost all the big companies.
  23. 23. Companies listed MathsWorks Intel Cadence Philips, Sony, Samsung, LG IBM, HP, Acer General Motors, Ford, Honda NSN, Ericsson, Tech Mahindra NASA ISRO CSIO, DRDO, BEL, BDL
  24. 24. MATLAB Course OutlineMATLAB BASICS• Overview/Introduction• Desktop Tools and Development Environment• Data types and structure• Working with array and operations• File handling and control• Data processing and analysis• Graphics• Programming• Scripts and functions
  25. 25. Course outline(cont…) TOOLS• GUIDE• SimulinkTOOLBOX• Control system toolbox• Communication
  26. 26. Why MATLAB Because it lets you test your ideas and innovations very quickly. It lets you “feel” the code, stop a little with a break point, add some lines, try this and try that, plot some graphs or image to see what I got, and Suddenly … through this “code gaming” finally have you a great working program. Because it save you of declaring this and allocate memory for that and let you focused on the real target. Because the code is very clean and minimal and very easy to understand and maintain.
  27. 27. QUESTIONS
  28. 28. Thank you for your time !!