?? lms(new).mdl
字號(hào):
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer off
BufferSize "128"
Overlap "64"
inpFftLenInherit on
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[29 124 450 360]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-12"
YMax "8"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [170, 355, 245, 410]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Filter \nTaps"
Ports [1]
Position [555, 260, 590, 310]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties on
Domain "User-defined"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[491 123 450 360]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr off
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-1"
YMax "2"
YLabel "Equalizer Coefficients"
LineProperties off
LineMarkers "."
}
Block {
BlockType Reference
Name "Flip"
Ports [1, 1]
Position [455, 271, 490, 299]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [170, 87, 215, 123]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "6"
ic "0"
reset_popup "None"
Port {
PortNumber 1
Name "Signal"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "LMS\nAdaptive Filter"
Ports [2, 2]
Position [305, 151, 390, 209]
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "18"
mu "0.1"
ic "0.0"
leakage "1.0"
normalized on
Adapt off
RstPort "None"
}
Block {
BlockType Math
Name "Math\nfunctions"
Ports [1, 1]
Position [455, 90, 485, 120]
ShowName off
Operator "square"
Port {
PortNumber 1
Name "Squared\nerror"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Noise"
Ports [0, 1]
Position [175, 220, 205, 250]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov ".002e-5"
Ts "1e-5"
seed "[23341]"
VectorParams1D on
}
Block {
BlockType Relay
Name "Relay"
Position [105, 150, 135, 180]
}
Block {
BlockType Scope
Name "Results"
Ports [4]
Position [560, 50, 590, 100]
ShowName off
Location [6, 60, 545, 468]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.0005"
YMin "-2~0~0~-5"
YMax "2~2~1~5"
DataFormat "Array"
SampleInput on
SampleTime "5e-6"
}
Block {
BlockType Signum
Name "Sign"
Position [450, 150, 480, 180]
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [160, 135, 200, 195]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [214, 82, 1014, 721]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 193, 50, 207]
}
Block {
BlockType SubSystem
Name "Dispersive\nChannel"
Ports [1, 1]
Position [140, 101, 185, 139]
TreatAsAtomicUnit off
MaskType "Simple Dispersive Channel"
MaskDescription "Dispersive channel filter."
MaskHelp "Dispersive channel filter"
MaskPromptString "Dispersion:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "d=@1;"
MaskInitialization "b=.5*(1+cos(2*pi./d.*[-1 0 1])); h=log(abs("
"freqz(b,1,64)));"
MaskDisplay "plot(h)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3.5"
System {
Name "Dispersive\nChannel"
Location [9, 112, 368, 230]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "Digital Filter"
Ports [1, 1]
Position [75, 28, 145, 72]
SourceBlock "dsparch4/Digital Filter"
SourceType "Digital Filter"
TypePopup "FIR (all zeros)"
IIRFiltStruct "Direct form II transposed"
AllPoleFiltStruct "Direct form"
FIRFiltStruct "Direct form"
CoeffSource "Specify via dialog"
NumCoeffs "b"
DenCoeffs "[1 0.1]"
BiQuadCoeffs "[1 0.3 0.4 1 0.1 0.2]"
LatticeCoeffs "[0.2 0.4]"
denIgnore on
FiltPerSampPopup "One filter per frame"
IC "0"
ICnum "0"
ICden "0"
}
Block {
BlockType Outport
Name "Out1"
Position [175, 43, 205, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Digital Filter"
DstPort 1
}
Line {
SrcBlock "Digital Filter"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Dispersive\nChannel1"
Ports [1, 1]
Position [140, 151, 185, 189]
TreatAsAtomicUnit off
MaskType "Simple Dispersive Channel"
MaskDescription "Dispersive channel filter."
MaskHelp "Dispersive channel filter"
MaskPromptString "Dispersion:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "d=@1;"
MaskInitialization "b=.5*(1+cos(2*pi./d.*[-1 0 1])); h=log(abs("
"freqz(b,1,64)));"
MaskDisplay "plot(h)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3.5"
System {
Name "Dispersive\nChannel1"
Location [9, 112, 368, 230]
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 "Digital Filter"
Ports [1, 1]
Position [75, 28, 145, 72]
SourceBlock "dsparch4/Digital Filter"
SourceType "Digital Filter"
TypePopup "FIR (all zeros)"
IIRFiltStruct "Direct form II transposed"
AllPoleFiltStruct "Direct form"
FIRFiltStruct "Direct form"
CoeffSource "Specify via dialog"
NumCoeffs "b"
DenCoeffs "[1 0.1]"
BiQuadCoeffs "[1 0.3 0.4 1 0.1 0.2]"
LatticeCoeffs "[0.2 0.4]"
denIgnore on
FiltPerSampPopup "One filter per frame"
IC "0"
ICnum "0"
ICden "0"
}
Block {
BlockType Outport
Name "Out1"
Position [175, 43, 205, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Digital Filter"
DstPort 1
}
Line {
SrcBlock "Digital Filter"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Dispersive\nChannel2"
Ports [1, 1]
Position [140, 211, 185, 249]
TreatAsAtomicUnit off
MaskType "Simple Dispersive Channel"
MaskDescription "Dispersive channel filter."
MaskHelp "Dispersive channel filter"
MaskPromptString "Dispersion:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "d=@1;"
MaskInitialization "b=.5*(1+cos(2*pi./d.*[-1 0 1])); h=log(abs("
"freqz(b,1,64)));"
MaskDisplay "plot(h)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3.5"
System {
Name "Dispersive\nChannel2"
Location [9, 112, 368, 230]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -