+ All Categories
Home > Documents > 6869 Matlab Tutorial

6869 Matlab Tutorial

Date post: 15-Dec-2015
Category:
Upload: wonbae-choi
View: 22 times
Download: 4 times
Share this document with a friend
Description:
Matlab Tutorial, MIT, Open Source, Electrical Engineering
Popular Tags:
13
6.869 Matlab Quick Start
Transcript

6.869 Matlab Quick Start

• Everything is matrix

• Matrix index

• Manipulate matrices

• Manipulate matrices

• Script or function?– Scripts are m-files containing MATLAB statements

– Functions are like any other m-file, but they accept arguments – It is always recommended to name function file the same as the function

name

• Try to code in matrix ways

• Script m-files

-4-2

02

4

-4

-2

0

2

4-10

-5

0

5

10

-4-2

02

4

-4

-2

0

2

4-10

-5

0

5

10

• whos

• help sth.

• lookfor sth

• clear / clear sth.

• clc

• http://courses.csail.mit.edu/6.869/resources.html • http://www.math.siu.edu/matlab/tutorials.html


Recommended