.


:




:

































 

 

 

 


Subplot.




:

Subplot(m, n, p)

Subplot(h)

Subplot(mnp)

 

.

subplot (m, n, p), mnp - 3 , , axes; m , , n - , p - , . .

 

:

y1 = sin(x), - y2 = log(abs(y)).

x = -1:.1:1;

y1 = sin(x);

Subplot(2, 1, 1), plot(x, y1)

y2 = log(abs(y1));

Subplot(2, 1, 2), plot(x, y2)

 

hold on axes, . hold off .

 

 

=sin x × e-x. . 1.3.

 

Command Window :

>> x=-5:0.5:5; % [-5;5] 0,5

>> plot(x,expxp(x),['R','*','-.']) % expxp(x) (R), (*), (-.)

>> grid on %

 

.1.3. =sin x × e-x.

 

;

 

figure; .

 

disp (x) , .

: disp([1 2 3]) % 1 2 3

disp (Text) % Text

 

 

, help elfun

- help ops

, Edit Clear Command Window

, Edit Clear Command History

.

 

 


1. y1 = f (x) y2 = f (x), 0, 1, x 2. [ a, b ] k.

 

. 1.

y1 y2 0 x 1 x 2 a b k
  5,5 -8   -10   0,1
  2,7   5,6 -20 -7 0,11
  3,1 -2   -4   0,07
  4,2 -7,3       0,05
  6,32 1,4       0,1
  -4,7 -0,1 -12 -35 -5 0,05
  2,3     -10   0,11
  8,2 1,4   -15   0,1
  4,5     -20   0,07
  1,23     -20   0,05
  7,5 -5,1   -10   0,1
  3,6 -2,4 7,8 -5   0,05

 

2. ... , , .

3. , , AB n1: n2, :

:

) 20 , :

: x= y=

)

---------------------------------------------------

) 2

) :

) :

A=(, ), B=(, ), n1= n2=

 

4. V1 V2 N ( 2). .

V1 V2.

− V1 A 1.

− V1 2.

− A 3.

− V1 3.

V1 V2.

     
      * ./ +
      / .\ +
      - .* .*
      * ./ ./
      / .* +
      - .* ./
      - ./ .\
      * .* -
      / .\ .\
      - .* .*
      * ./ -
      * .\ .\

 

 

4.

5. 33 .

6.

A+10B, A*B, BT

,

.

7. D:

8. 4 :

sin(x+v), exp(vx), x2/v, cos(x)/cos(v). V .

9. : 1/sin(x*v), 2/cos(x*v). Legend .

 

 


1. MatLab.

2. .

3. .

4. .

5. .

6. .

7. .

8. .

9. .

10. ?

11. MATLAB ?

12. MATLAB ?

13. MATLAB.

14. MATLAB.

15. , .

16. ?

17. ?

18. ?

19. , ? ?

20. m-? , m-?





:


: 2017-02-24; !; : 2369 |


:

:

,
==> ...

1693 - | 1634 -


© 2015-2024 lektsii.org - -

: 0.025 .