Matlab
|
Mathematica |
Mathcad
|
Maple |
Statistica |
Tabula |
Internet-
|
|
|
|
Download
|
" Simulink"
..,
...
: ()
Simulink MatLab.
1. .
:
y(x).
.
x(0) = 0.
" Simulink"
:
>>
>>
>>
>>
t=(0:0.1:2);
y=f(t);
plot(t,y)
grid on
. , .
" Simulink"
2. .
.
.
- .
" Simulink"
, : y1 = 2, y2 = 0.01.
, Scope XY-Graph,
:
" Simulink"
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]
.
1. Simulink, .
MatLab ode45.
2. MatLab, .
3. Simulink :
" Simulink"
MatLab ode45.
|
| | | | e-mail
|
ActiveCloud |
| Matlab | MSDN | -
: ? Ctrl+Enter
Copyright 1993-2014. Softline. .
: 15.07.14
01.09.00