This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Matlab 1  1 pykc  Jan810 E2.5 Signals & Systems Matlab Tutorial 1 E2.5 Signals & Systems Introduction to MATLAB ! MATLAB is a highperformance language for technical computing . It integrates computation, visualization, and programming in an easytouse environment. Typical uses include: Math and computation Algorithm development Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics ! MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar noninteractive language such as C or Fortran. Matlab 1  2 pykc  Jan810 E2.5 Signals & Systems Matlab Tutorial 1 Five Parts of Matlab ! The MATLAB language " Highlevel matrix/array language with control flow statements, functions, data structures, input/output, and objectoriented programming features ! The MATLAB working environment " Facilities for managing the variables and importing and exporting data " Tools for developing, managing, debugging, and profiling Mfiles ! Handle Graphics " Twodimensional and threedimensional data visualization, image processing, animation, and presentation graphics " Graphical User Interface functions ! The MATLAB mathematical function library ! The MATLAB Application Program Interface (API) " Allows you to write C and Fortran programs that interact with MATLAB Matlab 1  3 pykc  Jan810 E2.5 Signals & Systems Matlab Tutorial 1 Entering Matrices (1)  Magic Square ! Engraving by Albrecht Drer, German artist and mathematician in 1514. Matlab 1  4 pykc  Jan810 E2.5 Signals & Systems Matlab Tutorial 1 Entering Matrices (2)  Method 1:Direct entry ! 4 ways of entering matrices in MATLAB : Enter an explicit list of elements Load matrices from external data files Generate matrices using builtin functions Create matrices with your own functions in Mfiles ! Rules of entering matrices : 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...
View Full
Document
 Spring '11
 Luh

Click to edit the document details