Вы находитесь на странице: 1из 6

Matlab
|
Mathematica |
|
Maple |
Statistica |
Tabula |

Internet-
|

|

|

|
|

..,
...
: ()
1. .
:

y(x).
.

x(0) = 0.

## MatLab Simulink, Create a new Model.

,
, x. Sum () Gain () ( Math)
x' . sin(t) Sine Wave ( Sources),
, ,
Block Parameters . x(t) Scope.
. ,
, Autoscale.

( ).

:
>>
>>
>>
>>

t=(0:0.1:2);
y=f(t);
plot(t,y)
grid on

. , .

2. .
.
.
- .

## http://www.exponenta.ru/educat/systemat/semenenko/odu/index.asp[13/08/2014 11:04:57 a.m.]

, : y1 = 2, y2 = 0.01.
, Scope XY-Graph,
:

## http://www.exponenta.ru/educat/systemat/semenenko/odu/index.asp[13/08/2014 11:04:57 a.m.]

MatLab - :
function dy=vlm(t,y)
dy=zeros(2,1);
dy(1)=y(1)*(0.1-0.05*y(2)-0.03*y(1));
dy(2)=-y(2)*(0.2-0.15*y(1));
, - 4-
( ode45):
> [T, Y] = ode45('vlm',[0 164],[2 0.01]);
ode45: - , , .
plot:
> plot(Y(:,1),Y(:,2));
>axis[0 4 0 4]
.
MatLab ode45.
2. MatLab, .

## 9) y''+ y' = 3x2, y(1) = -1, y'(1) = 2 [1,2].

MatLab ode45.

|
| | | | e-mail
|
ActiveCloud |
| Matlab | MSDN | -
: ? Ctrl+Enter