3.4.- MatLab
MatLab
M-,
m-
m-
m-
MatLab
MatLab ( ). , . , .
, , . . , MatLab . .
, , , . MatLab . MatLab.
, , , . MatLa b .
? . . MatLab (m - ). -, . , , , .
- . , , , (, , ++) . , ., , .
, MatLab , m - , . MatLab :
|
|
;
;
, ;
;
;
;
;
.
MatLab , . MatLab .
, MatLab . m - , , MatLab. MatLab , MatLab C++. , MatLab. MatLab .
, .
MatLab , :
single ;
doubl e ;
char -;
sparse double, - ;
ll ; , , ;
struct , ;
function_handle :
int32, uint32 32- ;
int16,uint16 16- ;
int8, uint8 8- .
, . array, , MatLab .
MatLab , :
;
;
;
;
();
-;
-.
, , , . MatLab. MatLab .
MatLab . , , . m - , . , , , MatLab . MatLab .
|
|
- MatLab. . - , MatLab Simulink.
, MatLab ( ) ( ) . , , .
. . , , sin(x) . , 2*sin(x+1). ( ), , .
. . , , + sum(). , Commandargument Command(' argument').
, ( ) . , , ( ) .
MatLab : if... else...elseif...end, case, for...end while...end, , , + +.
MatLab Bsic. Bsic , .
m-,
, , () . MatLab , m - . m - , MatLab, . m - , , m -. m -: - -. , MatLab /m - .
- , Script-, . :
-_ |
% % |
- :
;
;
;
, , .
|
|
, . , lookfor help_. help _. - PlotSin .
3.4.1 m- |
% % [xmin.xmax] x=xmin:0.1:xmax; plot(x,sin(x),6'r') gridon |
3.4-1 |
>>xmin=-1; >>xmax=1; >> |
m - 3.4-1 , . % . help name_