📄 adchid_rls.mdl
字号:
Line {
SrcBlock "PN sequence"
SrcPort 1
Points [15, 0]
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Spread spectrum\n signals"
DstPort 1
}
Line {
SrcBlock "Triggered Signal\nFrom Workspace"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Pulses divide\nsample time"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0; 0, -20]
DstBlock "Triggered Signal\nFrom Workspace"
DstPort trigger
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0; 0, 60]
Branch {
Points [0, 60]
DstBlock "Synchronization\nsignal"
DstPort 1
}
Branch {
Points [130, 0]
DstBlock "PN sequence"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "ID Test Data"
Ports []
Position [185, 15, 285, 65]
BackgroundColor "orange"
DropShadow on
OpenFcn "cdma_id_testdata=randint(100,1);"
TreatAsAtomicUnit off
MaskDisplay "disp('Load Test Data')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ID Test Data"
Location [294, 256, 792, 556]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
Block {
BlockType Math
Name "Math\nfunctions"
Ports [1, 1]
Position [520, 200, 550, 230]
ShowName off
Operator "square"
}
Block {
BlockType Reference
Name "Noise"
Ports [0, 1]
Position [375, 15, 405, 45]
Orientation "down"
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "0.01"
Ts "1"
seed "[13245]"
VectorParams1D on
}
Block {
BlockType Reference
Name "RLS\nAdaptive Filter"
Ports [2, 2]
Position [310, 275, 395, 335]
SourceBlock "dspadpt3/RLS\nAdaptive Filter"
SourceType "RLS Adaptive Filter"
Ntaps "32"
Lambda "1.0"
ic "0.0"
phi0 "0.1"
Adapt off
RstPort "None"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [570, 199, 600, 231]
Location [16, 300, 340, 594]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "500"
YMin "-0.4"
YMax "1.1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [195, 110, 300, 160]
ShowName off
TreatAsAtomicUnit off
MaskDisplay "plot(-10,-10,110, 110,[05 15 10 10 05 10 18 14 "
"13 7.5 13 41 44 47 50 53 57\n59 100-[13 7.5 13 14 18 10 5 10 10 15 5]],[70 70"
" 70 85 92 85 79 82 90 88.5\n90 90 87 93 87 93 87 90 90 88.5 90 82 79 85 92 85"
" 70 70 70]);\ndisp('Multipath\\nChannel')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [132, 94, 767, 294]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType Gain
Name "Gain"
Position [155, 90, 185, 120]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "-0.5"
}
Block {
BlockType Gain
Name "Gain1"
Position [250, 90, 280, 120]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "0.25"
}
Block {
BlockType Gain
Name "Gain2"
Position [340, 90, 370, 120]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "0.4"
}
Block {
BlockType Gain
Name "Gain3"
Position [430, 90, 460, 120]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "-0.2"
}
Block {
BlockType Gain
Name "Gain4"
Position [525, 95, 555, 125]
Orientation "down"
NamePlacement "alternate"
ShowName off
Gain "0.12"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [100, 27, 145, 63]
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [195, 27, 240, 63]
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay2"
Ports [1, 1]
Position [290, 27, 335, 63]
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "5"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay3"
Ports [1, 1]
Position [380, 27, 425, 63]
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay4"
Ports [1, 1]
Position [480, 27, 525, 63]
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
reset_popup "None"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 155, 180, 175]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [255, 155, 275, 175]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [345, 155, 365, 175]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [435, 155, 455, 175]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [530, 155, 550, 175]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Outport
Name "Out1"
Position [580, 158, 610, 172]
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Integer Delay4"
SrcPort 1
Points [10, 0]
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Integer Delay3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
DstBlock "Integer Delay4"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integer Delay2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Integer Delay3"
DstPort 1
}
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Integer Delay2"
DstPort 1
}
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 0]
DstBlock "Integer Delay"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "Sum"
DstPort 2
}
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [430, 200, 460, 230]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [375, 120, 405, 150]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Goto
Name "Syn_signal"
Position [120, 143, 155, 167]
GotoTag "Syn"
TagVisibility "local"
}
Block {
BlockType From
Name "Syn_signals"
Position [160, 278, 195, 302]
CloseFcn "tagdialog Close"
GotoTag "Syn"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [420, 306, 460, 334]
VariableName "tapout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Math\nfunctions"
DstPort 1
}
Branch {
Points [0, 160; -195, 0]
DstBlock "RLS\nAdaptive Filter"
DstPort 2
}
}
Line {
SrcBlock "RLS\nAdaptive Filter"
SrcPort 2
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "RLS\nAdaptive Filter"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "DSSS Signals"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [35, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Noise"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Math\nfunctions"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "DSSS Signal"
SrcPort 1
DstBlock "RLS\nAdaptive Filter"
DstPort 1
}
Line {
SrcBlock "DSSS Signals"
SrcPort 2
DstBlock "Syn_signal"
DstPort 1
}
Line {
SrcBlock "Syn_signals"
SrcPort 1
DstBlock "DSSS Signal"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -