Computing Tools For Mathematics(COMP1118) : Introduction to Matlab

Computing Tools For Mathematics(COMP1118)
Instructor : Engineer Imran Ahmad
University Of Okara (Renala Campus)

Lesson 1 :Introduction to MATLAB
    

 
Introduction:
 Stands for MATrix and LABoratory.
 A special purpose computer program Optimized to perform engineering and scientific calculations.
 Or it is technical programming language.
 Started with simple matrix manipulation and grown with the capability of solving any technical problem.
 A proprietary programming language developed by MathWorks
Introduction Contd…..
 It provides a very extensive library of predefined functions to make technical programming task easier and more efficient.
 Superior on other language like C, FORTRAN.
 MATLAB can be interfaced with various hardware like TMS320C6713, Arduino, FPGA. NI DAQ etc. to enhance the data processing capabilities of MATLAB.

Research, Development And Design Challenges:

  •  Demands on engineers and scientists are increasing
  •  Proliferation of products and technologies
  •  Decreased development time and product life cycles
  •  Pressure to meet deadlines. While evaluating design tradeoffs
  •  Variety of projects and tasks that are rarely straightforward
  •   Experimenting and programming is expensive

Matlab Capabilities

  •  Numerical computation
  •  Data Access
  •  Data analysis and visualization
  •  Programming and algorithm development
  •  Application Development and Deployment

Advantages Of matlab For Technical Programming

  1.  Easy to Use
  2.  Platform independent
  3.  Pre-defined functions
  4.  Device independent plotting
  5.  Graphical user interface
  6.  MATLAB compiler

Disadvantages

  1.  Slow Speed: Interpreted language rather than compiled one.
  2. Cost: only cost effective for business

Matlab Environment
 MATLAB Desktop integrates many tools for managing files, variables and applications within the MATLAB environment.

  •  Command window                      
  •   Workspace
  •  Command history
  •  Current directory/ Current folder
  •  Docking and Undocking windows
  •  Start button
  •  Help browser
  •  Figure window
  • Command Window


Workspace

Command History

Matlab Environment Contd…..
Table of MATLAB symbols

Matlab Environment Contd…..
Matlab Environment Contd…..
Matlab Environment Contd…..
Precaution During File Name
 Never create an M-file with the same name as a MATLAB function or command

 Never start a file name from  a number
 Ex. 1first.m          Wrong
 Ex.  first1.m         Correct
 Never use blankspace in file name
 Ex.    First file       Wrong
 Ex.    First_file      Correct        

How To Write A Mathematical Expressions In matlab
Example:
   x=  4𝑢/3𝑣

Comments

Popular posts from this blog

Zong Whatsapp Packages 2019

Statical Theory -Chapter 4 Measure Of Dispersion, Moments and Skewness