.


:




:

































 

 

 

 


Scilab 5. 5. 2

..

..-..,

. ,

..

6- ,

. ,

SCILAB 5.5.2

, , Scilab. Scilab . 5.5.2, 1 2015 [1]. .

Scilab . , , Scilab [2], [3,c. 57-109], Scilab . , .. [3] Scilab, Matlab , , [4]. Scilab , .

1. .

0001 x=-2*%pi:0.1:2*%pi;0002 y=sin(cos(x));0003 plot (x,y);0004 xtitle(' y=sin(cos(x))', 'X','Y');

1.

.1. .

: x y. : x, y x. . , , . .

,

, . . : , . x: x , x . x y x y . 2.

2. .

0001 x1=-9.95:0.1:0;0002 y1=x1.\1;0003 plot (x1,y1);0004 x2=0.05:0.1:9.95;0005 y2=x2.\1;0006 plot (x2,y2);0007 a= gca ();

0008 a.y_label.font_angle = 0;

0009 a.x_location='origin';0010 a.y_location='origin';0011 a.data_bounds=[-10,-20;10,20];0012 a.tight_limits = 'on';0013 a.box='off';0014 a.x_label.position=[11,0];0015 a.y_label.position=[1,19];0016 xtitle(' ', 'X','Y');

 

.2. .

, 2 2. 1-3 x y , 1-3 . , : x1.\1. .\ , . [3, c. 33].

4-6 . 16 ( ).

7-15 . 2, 1. , , , . , ( y , x ). gca() a , (gca get current axes ). 8-15 . , 8 , y , . , , . 9 10 , x y (0,0), . 11 x y, . 12 , ( ). 13 . 14 15 .

Scilab , . (Michaël Baudin) [5, . 71], , , . . 3.

3. .

0001 function f = mygiperbola (x)

0002 f = 1/ x

0003 endfunction

0004 x1=-9.95:0.1:0;

0005 plot (x1, mygiperbola);

0006 x2=0.05:0.1:9.95;

0007 plot (x2, mygiperbola);

0008 a= gca ();

0009 a.y_label.font_angle = 0;

0010 a.x_location='origin';

0011 a.y_location='origin';

0012 a.data_bounds=[-10,-20;10,20];

0013 a.tight_limits = 'on';

0014 a.box='off';

0015 a.x_label.position=[11,0];

0016 a.y_label.position=[1,19];

0017 xtitle(' ', 'X','Y');

1-3 . mygiperbola, plot 5 7. : 4-5 , 6-7 . , , plot, mygiperbola.

:

1. Scilab 5.5.2 Release / 2015 / News / Community / Home Scilab / URL: http://www.scilab.org/content/view/full/1339 ( 23.10.2015).

2. Scilab/ / URL: https://ru.wikibooks.org/wiki/
Scilab/ ( 23.10.2015).

3. .., Scilab: / .. , .. , .. . .:ALT Linux; . , 2008. 269 .

4. How to Buy MATLAB and Simulink / URL: https://www.mathworks.com/store/default.do?s_cid=store_top_nav&s_tid=gn_store ( 23.10.2015).

5. Baudin M., Scilab. 2013. 89 c. / URL: http://forge.scilab.org/index.php/p/docintrotoscilab/downloads/get/introscilab-v1.4-ru.pdf

.. , .. , 2015



<== | ==>
| 6. (3 .).
:


: 2016-11-18; !; : 2246 |


:

:

, ,
==> ...

1558 - | 1538 -


© 2015-2024 lektsii.org - -

: 0.012 .