Vous êtes sur la page 1sur 13

Introduction to MATLAB

Week1 - 1

WEEK 1 MATLAB BASICS

Introduction to MATLAB

Week1 - 2

What is MATLAB?

- The name stands for MATrix LABoratory - MATLAB is a high-performance language for technical
computing. It integrates computation, visualization, and programming environment.

MATLAB is a modern programming language environment: it has sophisticated data structures, contains built-in editing and debugging tools, and supports object-oriented programming.

Introduction to MATLAB

Week1 - 3

THE MATLAB SYSTEM

- Development Environment - The MATLAB Mathematical Function Library - The MATLAB Language - The MATLAB Application Program Interface (API)

Introduction to MATLAB

Week1 - 4

Development Environment

Set of tools and facilities that help use MATLAB functions and files. Includes: - MATLAB Desktop

- Command Window
- Command History - Editor and Debugger and browsers for viewing help - Workspace

Introduction to MATLAB

Week1 - 5

MATLAB MATHEMATICAL FUNCTION LIBRARY

- This is a vast collection of computational algorithms


ranging from elementary functions
Examples: > sum, sine, cosine, and complex arithmetic

> sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms.

Introduction to MATLAB

Week1 - 6

MATLAB LANGUAGE
- This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. - It allows both "programming in the small" to rapidly create quick and dirty throw-away programs, and "programming in the large" to create complete large and complex application programs.

Introduction to MATLAB

Week1 - 7

GRAPHICS

MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as annotating and printing these graphs. includes high-level functions for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics.

- It

- It also includes low-level functions.

Introduction to MATLAB

Week1 - 8

MATLAB APPLICATION PROGRAM INTERFACE


- This is a library that allows you to write C and Fortran programs that interact with MATLAB. - It includes facilities for calling routines from MATLAB (dynamic linking), calling MATLAB as a computational engine, and for reading and writing MAT-files.

Introduction to MATLAB

Week1 - 9

Development Environment
Desktop Tools

Command Window
Command History Star Button and Launch Pad

Help Browser
Current Directory Browser Workspace Browser Array Editor Editor/Debugger Profiler

Introduction to MATLAB

Week1 - 10

Introduction to MATLAB

Week1 - 11

WORKSPACE BROWSER
- Consists of the set of variables during a MATLAB session and stored in memory

Introduction to MATLAB

Week1 - 12

ARRAY EDITOR

Use to edit the variables in the workspace. Three ways to open: double click the variable in the workspace browser, select the variable in the workspace and click open , use the openvar syntax

Introduction to MATLAB

Week1 - 13

EDITOR/DEBUGGER

Used to create and debug M-files, which are program you write to run the MATLAB functions

Vous aimerez peut-être aussi