📄 bluetooth_full_duplex.mdl
字号:
Ports [2, 1]
Position [155, 113, 210, 177]
ShowName off
SourceBlock "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [340, 415, 395, 455]
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "None"
}
Block {
BlockType Reference
Name "Multiport\nSelector"
Ports [1, 3]
Position [690, 126, 700, 224]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Columns"
idxCellArray "{ 1,2,3}"
idxErrMode "Clip Index"
Port {
PortNumber 1
Name "Bluetooth Tx"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "802.11b Tx"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 3
Name "Slots"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [510, 137, 540, 168]
ShowName off
Operator ">"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [135, 423, 165, 447]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[440,125]"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [580, 417, 600, 453]
ShowName off
Elements "[257:512 1:256]"
InputPortWidth "512"
}
Block {
BlockType Selector
Name "Selector2"
Ports [1, 1]
Position [650, 417, 670, 453]
ShowName off
Elements "7:506"
InputPortWidth "512"
}
Block {
BlockType Reference
Name "Short-Time FFT1"
Ports [1, 1]
Position [205, 407, 270, 463]
ShowName off
SourceBlock "dspspect3/Short-Time FFT"
SourceType "Short-Time FFT"
wintype "Hanning"
Rs "50"
beta "5"
winsamp "Periodic"
inheritFFT off
fftsize "512"
navg "1"
}
Block {
BlockType Reference
Name "Spectogram"
Ports [1]
Position [935, 410, 980, 460]
SourceBlock "dspsnks4/Matrix\nViewer"
SourceType "Matrix Viewer"
ImageParams on
CMapStr "jet(256)"
YMin "-60"
YMax "-30"
AxisColorbar on
AxisParams on
AxisOrigin "Lower left corner"
XLabel "Time Index"
YLabel "Frequency Index"
ZLabel "dB Magnitude"
FigPos "[73 67 793 217]"
AxisZoom on
}
Block {
BlockType Reference
Name "Spectrum\nPlot"
Ports [1]
Position [675, 295, 710, 345]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend on
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[10 543 877 170]"
AxisProperties on
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr off
XIncr "1/88e6"
XLabel "Time"
YUnits "Magnitude"
YMin "-65"
YMax "-25"
YLabel "Magnitude, dB"
LineProperties off
LineStyles "--"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [475, 305, 495, 325]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [220, 305, 240, 325]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Reference
Name "Timing\nDiagram1"
Ports [1]
Position [905, 150, 940, 200]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties off
Domain "User-defined"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend on
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[8 317 878 176]"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr off
XIncr "125*(1/88e6)"
XLabel "Time (s)"
YUnits "dB"
YMin "-1.025"
YMax "1.5"
YLabel "Amplitude"
LineProperties off
LineStyles "-|-"
LineColors "[0 1 0]|[1 0 0]|[0 0 0]|[1 0 1]"
}
Block {
BlockType Reference
Name "Transpose"
Ports [1, 1]
Position [820, 415, 875, 455]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [290, 412, 325, 458]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [415, 412, 450, 458]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
}
Block {
BlockType Reference
Name "dB Conversion1"
Ports [1, 1]
Position [475, 414, 510, 456]
ShowName off
SourceBlock "dspmathops/dB Conversion"
SourceType "dB Conversion"
dBtype "dB"
intype "Power"
R "1"
fuzz on
Port {
PortNumber 1
Name "Channel Spectrum"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "enable"
Ports [0, 1]
Position [20, 276, 100, 294]
NamePlacement "alternate"
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1 0 0 0 0 0]"
Ts "625e-6"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Line {
SrcBlock "Transpose"
SrcPort 1
DstBlock "Spectogram"
DstPort 1
}
Line {
SrcBlock "Buffer2"
SrcPort 1
DstBlock "Transpose"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Downsample"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
Name "Channel Spectrum"
Labels [0, 0]
SrcBlock "dB Conversion1"
SrcPort 1
Points [40, 0; 5, 0]
Branch {
DstBlock "Selector1"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -115]
DstBlock "Spectrum\nPlot"
DstPort 1
}
}
Line {
SrcBlock "Short-Time FFT1"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "Selector2"
DstPort 1
}
Line {
SrcBlock "Selector2"
SrcPort 1
DstBlock "Buffer2"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
DstBlock "Timing\nDiagram1"
DstPort 1
}
Line {
SrcBlock "Rx"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Short-Time FFT1"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "dB Conversion1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [5, 0]
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Tx_802"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "Tx"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
DstBlock "Downsample"
DstPort 1
}
Line {
Name "Bluetooth Tx"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 1
Points [100, 0]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
Name "802.11b Tx"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "enable"
SrcPort 1
Points [35, 0]
DstBlock "Marker"
DstPort enable
}
Line {
Name "Slots"
Labels [-1, 1]
SrcBlock "Multiport\nSelector"
SrcPort 3
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
Line {
SrcBlock "Downsample1"
SrcPort 1
DstBlock "Buffer1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, -120]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -