📄 ins_simulation.mdl
字号:
Position [340, 105, 370, 135]
Operator "transpose"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [3, 1]
Position [250, 99, 305, 141]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Horizontal"
}
Block {
BlockType Outport
Name "Out1"
Position [400, 113, 430, 127]
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
Points [10, 0; 0, 40]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "MATLAB Fcn1"
DstPort 1
}
Branch {
Points [0, -10; 20, 0; 0, -45]
DstBlock "MATLAB Fcn"
DstPort 1
}
Branch {
Points [0, 10; 20, 0; 0, 40]
DstBlock "MATLAB Fcn2"
DstPort 1
}
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [340, 295, 360, 315]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [430, 90, 450, 110]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [165, 425, 215, 485]
ShowName off
IconShape "round"
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [490, 90, 510, 110]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "markov"
Ports [0, 1]
Position [35, 451, 75, 489]
TreatAsAtomicUnit off
System {
Name "markov"
Location [573, 397, 898, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1]
Position [30, 79, 50, 101]
SourceBlock "simulink/Sources/Band-Limited\nWhit"
"e Noise"
SourceType "Continuous White Noise."
Cov "0.00001"
Ts "0.05"
seed "[23341]"
VectorParams1D "on"
}
Block {
BlockType Gain
Name "Gain"
Position [85, 35, 115, 65]
Gain "-1/7200"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [195, 35, 225, 65]
InitialCondition "0.00001"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [145, 40, 165, 60]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [270, 43, 300, 57]
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
Points [100, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -20; -190, 0; 0, 20]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "random const"
Ports [0, 1]
Position [35, 397, 75, 433]
TreatAsAtomicUnit off
System {
Name "random const"
Location [511, 309, 855, 650]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [110, 30, 140, 60]
Value "0"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [180, 30, 210, 60]
InitialCondition "0.0001"
}
Block {
BlockType Outport
Name "Out1"
Position [300, 38, 330, 52]
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "tran(T)"
Ports [1, 1]
Position [190, 195, 230, 255]
TreatAsAtomicUnit off
System {
Name "tran(T)"
Location [378, 409, 930, 633]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "(psai,sita,gama)1"
Ports [3, 1]
Position [130, 29, 185, 71]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Horizontal"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [90, 31, 95, 69]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [315, 35, 345, 65]
Operator "transpose"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [225, 31, 285, 69]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [430, 148, 928, 448]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 113, 90, 127]
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [165, 49, 210, 81]
MATLABFcn "[cos(u(3))*cos(u(1))-sin(u(3))*si"
"n(u(2))*sin(u(1)),-cos(u(2))*sin(u(1)),sin(u(3))*cos(u(1))+cos(u(3))*sin(u(2)"
")*sin(u(1))]"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn1"
Position [170, 105, 210, 135]
MATLABFcn "[cos(u(3))*sin(u(1))+sin(u(3))*si"
"n(u(2))*cos(u(1)),cos(u(2))*cos(u(1)),sin(u(3))*sin(u(1))-cos(u(3))*sin(u(2))"
"*cos(u(1))]"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn2"
Position [170, 155, 210, 185]
MATLABFcn "[-sin(u(3))*cos(u(2)),sin(u(2)),c"
"os(u(3))*cos(u(2))]"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [340, 105, 370, 135]
Operator "transpose"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [3, 1]
Position [250, 99, 305, 141]
SourceBlock "simulink/Math\nOperations/Matrix"
"\nConcatenation"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Horizontal"
}
Block {
BlockType Outport
Name "Out1"
Position [400, 113, 430, 127]
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
Points [10, 0; 0, 40]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "MATLAB Fcn1"
DstPort 1
}
Branch {
Points [0, -10; 15, 0; 0, -45]
DstBlock "MATLAB Fcn"
DstPort 1
}
Branch {
Points [0, 10; 15, 0; 0, 40]
DstBlock "MATLAB Fcn2"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [370, 43, 400, 57]
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "(psai,sita,gama)1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "(psai,sita,gama)1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [5, 0; 0, 5]
DstBlock "(psai,sita,gama)1"
DstPort 3
}
Line {
SrcBlock "(psai,sita,gama)1"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "white noise"
Ports [0, 1]
Position [35, 507, 75, 543]
TreatAsAtomicUnit off
System {
Name "white noise"
Location [212, 539, 407, 681]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1]
Position [30, 25, 60, 55]
SourceBlock "simulink/Sources/Band-Limited\nWhit"
"e Noise"
SourceType "Continuous White Noise."
Cov "0.00001"
Ts "0.05"
seed "[23341]"
VectorParams1D "on"
}
Block {
BlockType Outport
Name "Out1"
Position [140, 33, 170, 47]
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [555, 93, 585, 107]
}
Line {
SrcBlock "Attitude"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Demux"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -