Simulink ( MATLAB)
Simulink MATLAB. MATLAB .
- (Simulink) MATLAB.
- MATLAB Simulink Enter .
- Open File (mdl - ).
, . Simulink.
:
- , ;
- ( ).
Simulink :
Continuous ;
Discrete ;
Functions & Tables ;
Math ;
Signals & Systems ;
Sinks - ;
Sources .
MATLAB.
.
1. Continuous Transfer Fcn ( s p):
,
m n , .
, , :
- Numerator ;
- Denominator .
Transfer Fcn .
. .1. Transfer Fcn.
..1.
2. Discrete Discrete Transfer Fn :
,
m+ 1 n+ 1 , .
:
Numerator ;
Denominator ;
Sample time .
.
Discrete Filter (1/z):
,
m+ 1 n+ 1 , .
:
- Numerator ;
- Denominator ;
- Sample time .
3. Signal&Systems () Mux . . , ( ).
|
|
4. Math Sum .
( ) List of sign. 3, Sum . .
/ Complex to Magnitude-Angle / .
Output ( ):
- Magnitude ;
- Angle ;
- MagnitudeAndAngle .
5. Function & Tables MATLAB Fcn MATLAB.
:
- MATLAB function MATLAB. u;
- Output dimensions . 1 ( ) ;
- Output signal type . :
real ;
complex ;
auto .
6. Sources Step , :
- Step time ();
- Initial value ;
- Final value .
( , ), ( , ). , (, 5 3).
Sine Wave, , , .
Ramp y = Slope* time + Initial value, :
Slope ;
Start time ;
Initial value .
7. Sinks Scope . .
, . , , .
(.2).
. .2 Scope
11 :
- Print ;
- Parameters ;
- Zoom ;
- Zoom X-axis ;
- Zoom Y-axis ;
- Autoscale ;
- Save current axes settings ;
- Restore saved axes settings ;
- Floating scope ;
- Lock/Unlock axes selection / . ( , Floating scope);
- Signal selection . , Floating scope.
:
|
|
(, ) . 2,5 .
(, ) , , .
, Axes properties . , Y-min Y-max .
Scope parameters, (Parameters) . :
General ;
Data history MATLAB.
General :
Number of axes ( ) ;
Time range .
Data history Limit data points to last . . , Limit data points to last , Simulink .
.
Transfer Fcn (..1) , . , , . .
..1
W (p)=k | ||
W (p)= | ||
W (p) = | ||
W (p)= kp=Tp | ||
W (p)= |
.
. . ,
1.
:
1. (AC), ;
2. .