.


:




:

































 

 

 

 


, .




MatLab :

sin, cos, tan, cot , , ;

sec, csc, ();

asin, acos, atan, acot , , ;

asec, acsc , .

 

. .

 

MatLab :

sinh, cosh, tanh, coth , , ;

sech, csch ;

asinh, acosh, atanh, acoth , , ;

asech, acsch .

 

, , .

 

MatLab:

;

log ;

log10 ;

log2 2;

pow2 2 ;

sqrt ;

nextpow2 , 2, ( ).

 

.

MatLab:

abs, angle r φ( π ) ;

complex :

con j - ;

imag, real .

 

.

 

MatLab:

fix ;

floor, ceil ;

round ;

mod ( );

rem ;

sign .

 

 

MatLab . , (, ). , , z 1.45, z=1.4, MatLab z:

>> z=1.45

z=

1.4500

. . MatLab .

, . , Mz mZ . MatLab 31.

 

(, ), <Enter> . . MatLab <Enter> ( ).

MatLab , . , , MatLab. , .

 

 

File Save Workspace As. Save Workspace Variables, . work MatLab. , , work20-09-01. MatLab work20-11-03.mat. MatLab :

File Exit MATLAB;

<Ctrl>+<Q>;

Exit <Enter>;

MatLab.

work20-11-03.mat Open File. , , . .

. save load. MatLab

>> save work20-11-03

, MatLab c work20-11-03.mat.

>> load work20-01-03

MatLab ( ), . diary. diary , . .

 

, , . who, MatLab .

whos . Name . MatLab , Size , . Bytes , . Class .

clear. ( ), .

6.0, Workspace, . , , whos.

 

, . . : , , . , . . MatLab . , .

, , -, , , .

- , :

>> a=[1.3; 5.4; 6.9]

a=

1.3000

5.4000

6.9000

- , :

>> b=[3 4 9 2]

b =

3 4 9 2

:

>> c=[ 2 3 3

4 2 3

6 5 6];

+, -.

sum . sum sum( ), , , sum : sum( , 2). , sum( ) sum( , 1) .

- prod. prod sum.

min max. min max -, .

, :

>> max( , [], 2)

, , :

>> [m, k]=min( )

m , .

- sort. sort . , . sort , , . , sort . sort .

det. .'.

>> B.

ndis size.

 





:


: 2016-11-23; !; : 408 |


:

:

, , 1:10
==> ...

1874 - | 1781 -


© 2015-2024 lektsii.org - -

: 0.017 .