📄 ofdm_mulaw.mdl
字号:
}
Block {
BlockType Constant
Name "Constant"
Position [390, 200, 420, 230]
BackgroundColor "yellow"
Value "0.0"
}
Block {
BlockType Constant
Name "Constant1"
Position [260, 125, 290, 155]
BackgroundColor "yellow"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [165, 47, 215, 83]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [400, 100, 430, 130]
BackgroundColor "yellow"
Operator "reciprocal"
}
Block {
BlockType Reference
Name "Mu-Law\nCompressor"
Ports [1, 1]
Position [455, 46, 520, 84]
BackgroundColor "yellow"
SourceBlock "commsrccod2/Mu-Law\nCompressor"
SourceType "Mu-Law Compressor"
mu "1"
V "0.0277"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [630, 101, 675, 134]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [385, 276, 430, 309]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch"
Position [510, 170, 540, 200]
BackgroundColor "yellow"
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch1"
Position [335, 100, 365, 130]
BackgroundColor "yellow"
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [495, 288, 525, 302]
BackgroundColor "green"
}
Line {
SrcBlock "Mu-Law\nCompressor"
SrcPort 1
Points [20, 0; 0, 45]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Abs1"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [35, 0; 0, 130; -390, 0; 0, 35]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
Points [25, 0; 0, 60]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, -20]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [35, 0; 0, -60]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Abs1"
DstPort 1
}
Branch {
Points [0, 235]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 40]
Branch {
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, 10]
Branch {
Points [0, 70]
DstBlock "Switch"
DstPort 2
}
Branch {
DstBlock "Switch1"
DstPort 2
}
}
}
Branch {
DstBlock "Mu-Law\nCompressor"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Mu law1"
Description "complex u law compressor"
Ports [1, 1]
Position [680, 415, 740, 455]
Orientation "left"
BackgroundColor "yellow"
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskDisplay "disp('Mu law')\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Mu law1"
Location [2, 82, 790, 549]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 78, 45, 92]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [115, 70, 145, 100]
BackgroundColor "yellow"
}
Block {
BlockType Constant
Name "Constant"
Position [435, 225, 465, 255]
BackgroundColor "yellow"
Value "0.0"
}
Block {
BlockType Constant
Name "Constant1"
Position [280, 150, 310, 180]
BackgroundColor "yellow"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [180, 67, 230, 103]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [435, 120, 465, 150]
BackgroundColor "yellow"
Operator "reciprocal"
}
Block {
BlockType Reference
Name "Mu-Law\nExpander"
Ports [1, 1]
Position [485, 66, 545, 104]
BackgroundColor "yellow"
SourceBlock "commsrccod2/Mu-Law\nExpander"
SourceType "Mu-Law Expander"
mu "1"
V "0.0277"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [675, 121, 720, 154]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [430, 296, 475, 329]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch"
Position [555, 195, 585, 225]
BackgroundColor "yellow"
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch1"
Position [360, 120, 390, 150]
BackgroundColor "yellow"
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [540, 308, 570, 322]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Abs"
DstPort 1
}
Branch {
Points [0, 235]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Mu-Law\nExpander"
SrcPort 1
Points [40, 0; 0, 45]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [30, 0; 0, 140; -400, 0; 0, 25]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
Points [35, 0; 0, 65]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, -20]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [35, 0; 0, -65]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 40]
Branch {
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, 10]
Branch {
Points [0, 75]
DstBlock "Switch"
DstPort 2
}
Branch {
DstBlock "Switch1"
DstPort 2
}
}
}
Branch {
DstBlock "Mu-Law\nExpander"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "PAR after"
Ports [1]
Position [710, 254, 810, 296]
BackgroundColor "yellow"
TreatAsAtomicUnit off
MaskDisplay "disp('PAR after')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "PAR after"
Location [0, 50, 792, 570]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 78, 70, 92]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [170, 70, 200, 100]
BackgroundColor "yellow"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [235, 70, 265, 100]
BackgroundColor "yellow"
Operator "square"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [455, 145, 485, 175]
BackgroundColor "yellow"
Operator "reciprocal"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 1]
Position [370, 65, 425, 105]
BackgroundColor "yellow"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value"
reset "None"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [345, 140, 400, 180]
BackgroundColor "yellow"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "None"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [595, 106, 640, 139]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [685, 110, 745, 140]
BackgroundColor "lightBlue"
VariableName "par_Mulaw"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [145, 277, 255, 323]
BackgroundColor "lightBlue"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -