.


:




:

































 

 

 

 


Matlab




MATLAB - - - , , , , , . MATLAB' , -, - , , , , . .

MATLAB . 15 LINPACK EIGPACK, 1970- . , , MathCad, MAPLE Mathematica. MATLAB , . MATLAB (toolboxes), . MATLAB', , 5.2, MathWorks 1998 .

MATLAB - , () , . , . 800 , . , , . . . ; . , . , , , .

, , . , . /1/ - /2/: /1/ - , /2/ - . , /1/, /2/ help /3/, . , , . MATLAB', 30-40 . /1/ /2/ .

, , , . , . , -, , .

PC 486 16 Mb Windows 95 MATLAB 5.2. MATLAB , , , Macintosh, Unix OS/2.

, - . (, /4/ - /12/) /1/ - /3/, , .

Matlab.

Matlab .

1 y=sin(x) [0;1].

.1

>> x=0:0.1:3

>> y=sin(x)

>> plot(x,y,'r-',x,y,'ko')

,

plot(x1, y1, s1, x2, y2, s2, )

y1(x1), y2(x2),, s1, s2,

plot(x, y, s1, x, y, s2)

y1(x1) , ( ) - .

s1, s2, , . ( ) :

-
--
:
-. -

:

c
m
y
r
g
b
w
k

"":

.
+
*
o
x

, , -.

x = 0: 0.1: 3; y = sin(x);

hPlot = plot(x, y);

set(hPlot, 'LineWidth', 7);

plot x, y . MATLAB Line. , . (; handles).

Line plot. , . set . 'LineWidth' ( ), 7. :

.2

get.

width = get(hPlot, 'LineWidth')

MATLAB . , :

axis([ xmin, xmax, ymin, ymax ])

, :

axis([ 1.5, 2.5, 0.5, 2 ])

.3

, set, Axes. gca.

hAxes = gca;

set(hAxes, 'xtick', [ 1.5, 1.75, 2.0, 2.25, 2.5 ])





:


: 2016-09-06; !; : 574 |


:

:

. .
==> ...

1256 - | 1228 -


© 2015-2024 lektsii.org - -

: 0.011 .