You are on page 1of 35

www.wunan.com.

tw
(02)2705-5066

www.wunan.com.tw
(02)2705-5066

www.wunan.com.tw
(02)2705-5066

www.wunan.com.tw
(02)2705-5066

MATLAB

MATLAB

27

www.wunan.com.tw
(02)2705-5066

MATLAB

107

www.wunan.com.tw
(02)2705-5066

www.wunan.com.tw
(02)2705-5066

MATLAB

169

www.wunan.com.tw
(02)2705-5066

241

www.wunan.com.tw
(02)2705-5066

Simulink

291

www.wunan.com.tw
(02)2705-5066

341

403

www.wunan.com.tw
(02)2705-5066

469

www.wunan.com.tw
(02)2705-5066

10

MATLAB

537

www.wunan.com.tw
(02)2705-5066

583

www.wunan.com.tw
(02)2705-5066

MATLAB

www.wunan.com.tw
(02)2705-5066

MATLAB Matrix Laboratory 3


20 70 Cleve Moler

Cleve Moler
LINPACK EISPACK FORTRAN MATLAB MATLAB

MATLAB R 2006 MathWorks


3 9
R++
a b new featurebug fixes MATLAB R2008a MathWorks
2008 3 MATLAB R2009b

MATLAB MathWorks 5
MATLAB the MATLAB LanguageMATLAB the MATLAB
Working Environment

MATLAB the MATLAB Math Library

MATLAB the MATLAB Application Interface


Handle Graphics
1. MATLAB
MATLAB MatrixArray

MATLAB

(02)2705-5066

www.wunan.com.tw

1.1

MATLAB

2. MATLAB
MATLAB

M MATLAB MATLAB
3. MATLAB
MATLAB
sum sine

cosine

Bassel
MATLAB
MATLAB
8 1-1
1-1

MATLAB

4. MATLAB
MATLAB MATLAB
MATLAB

MATLAB MATLAB

www.wunan.com.tw 3
(02)2705-5066

MATLAB
MATLAB MEX MAT MATLAB
COM DDEWeb Excel Java
.NET
5.
Handle Graphics MathWorks MATLAB
2D 3D

5 MATLAB
5 1-2
1-2

MATLAB

MATLAB MATLAB

File

Edit Debug Desktop Window Help 6

File Edit Debug


Desktop MATLAB Window
Help
MATLAB 7.X 12

(02)2705-5066

www.wunan.com.tw

1.1

MATLAB

MATLAB MATLAB
MATLABMATLAB
Desktop
Undock Command Window 1-1

1-1

MATLAB

MATLAB
Desktop Dock Command Window
MATLAB >> MATLAB
Enter MATLAB

Enter

a m
a=12 a m

www.wunan.com.tw 5
(02)2705-5066


3
Enter 3

MATLAB
x1=(log(3)+sqrt(5))/2
sqrt srt MATLAB srt MATLAB

q Enter Enter

plo
plo 1-3 MATLAB

1-3

(02)2705-5066

www.wunan.com.tw

1.1

MATLAB

MATLAB MATLAB
MATLAB MATLAB
MATLAB
1-2

1-2

MATLAB MATLAB
1-3

EditClear Command History

www.wunan.com.tw 7
(02)2705-5066

1-3

MATLAB Start
MATLAB MATLAB
Start 1-4

1-4

Start

(02)2705-5066

www.wunan.com.tw

1.2

MATLAB

MATLAB
MATLAB M
Enter

magic
A

A 1 B

B C

www.wunan.com.tw 9
(02)2705-5066

MATLAB fliplr
A

flipud
humps MATLAB

1
1
+
6
2
x 0.3 + 0.01 x 0.9 2 + 0.04
fzero humps x = 1.3
humps (x) =

MATLAB

10

(02)2705-5066

www.wunan.com.tw

1.2

MATLAB

[ 1, 2] MATLAB

MATLAB format
MATLAB 1-4
1-4

MATLAB

linspace 12 100 100


trapz

www.wunan.com.tw 11
(02)2705-5066

[13

(17

5) 8] + 43

MATLAB

Enter
MATLAB

4
A = 23
11

5
5
23

9
17
1

MATLAB

Enter
MATLAB

12

(02)2705-5066

www.wunan.com.tw

1.2

MATLAB

z1 = 5 + 14i, z2 = 3 + 7i, z3 = 2e
z=

2
i
5

z1z2

z3

www.wunan.com.tw 13
(02)2705-5066

14

(02)2705-5066

www.wunan.com.tw

1.2

MATLAB

y = e
=e

t
3

t
3

sin3t y0

, t [0, 4]

1-5

www.wunan.com.tw 15
(02)2705-5066

1-5

y
x2
+
= 1
a2 25 a2

1-6

1-6

16

(02)2705-5066

www.wunan.com.tw

1.2

MATLAB

humps MATLAB

1-7

1-7

MATLAB

MATLAB
1-8

1-8

www.wunan.com.tw 17
(02)2705-5066

1-9

1-9

magic

MATLAB

1-5

18

(02)2705-5066

www.wunan.com.tw

1.2
1-5

MATLAB

MATLAB
1-6
1-6

MATLAB

www.wunan.com.tw 19
(02)2705-5066

who whos
who MATLAB

whos

20

(02)2705-5066

www.wunan.com.tw

MATLAB.
. , 2012.07

ISBN 978-957-11-6710-7 ()
1. 2.Matlab
448.7

10101074

5DE9

MATLAB









106 3 3 9 4
(02)2705-5066(02)2706-6100
http://www.wunan.com.tw
wunanwunan.com.tw
0 1 0 6 8 9 5 3

/6
(04)2223-0891(04)2223-3549
/290
(07)2358-702 (07)2350-236

2 0 1 2 7
6 2 0

(02)2705-5066

www.wunan.com.tw