Introduction to Matlab1

Introduction to Matlab1 - Matlab 1 - 1 pykc - Jan-8-10 E2.5...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Matlab 1 - 1 pykc - Jan-8-10 E2.5 Signals & Systems Matlab Tutorial 1 E2.5 Signals & Systems Introduction to MATLAB ! MATLAB is a high-performance language for technical computing . It integrates computation, visualization, and programming in an easy-to-use 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 non-interactive language such as C or Fortran. Matlab 1 - 2 pykc - Jan-8-10 E2.5 Signals & Systems Matlab Tutorial 1 Five Parts of Matlab ! The MATLAB language " High-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features ! The MATLAB working environment " Facilities for managing the variables and importing and exporting data " Tools for developing, managing, debugging, and profiling M-files ! Handle Graphics " Two-dimensional and three-dimensional 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 - Jan-8-10 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 - Jan-8-10 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 built-in functions Create matrices with your own functions in M-files ! 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

Page1 / 5

Introduction to Matlab1 - Matlab 1 - 1 pykc - Jan-8-10 E2.5...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online