.


:




:

































 

 

 

 


. MatLab




MatLab . . . , , .

, , :

. . x . f (x) x f. - MatLab. plot. x f (. . plot ). , , Figure No.1 (. 4.1).

>> x=[-2:0.05:2];

>> f=exp(x).*sin(pi*x)+x.^2;

>> plot(x,f)

. 4.1

, plot. , , plot(x,f,'ro:') , . , x. , , . . 4.1. , , , . : plot(x,f,'g'), plot(x,f,'ko'), plot(x,f,':').

plot , , , . f (x), [-2, 2]. g (x):

>> g=exp(-x.^2).*sin(5*pi*x);

plot, x, f x, g , , :

>> plot(x,f,'ko-', x,g,'k:')

4.1





:


: 2017-03-18; !; : 222 |


:

:

, .
==> ...

1877 - | 1672 -


© 2015-2024 lektsii.org - -

: 0.009 .