📄 cascaded_system_rab.mdl
字号:
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
RFDATA "read(rfdata.data, 'default.s2p')"
InterpMethod "Linear"
IP3Type "OIP3"
IIP3 "inf"
OIP3 "inf"
NF "0"
DisplayData off
PlotFreq "Derived from Input Port parameters"
PlotFreqNoSim "Extracted from RFDATA object"
Freq "[1e9:1e8:2.9e9]"
AllPlotType "X-Y plane"
NetworkData "S21"
PowerData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
PowerFormat "dBm"
PhaseFormat "Angle (degrees)"
NoneFormat "None"
}
Block {
BlockType Reference
Name "General Amplifier3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [410, 421, 500, 469]
SourceBlock "rfamplifiers1/General Amplifier"
SourceType "General Amplifier"
PhysicalDomain "rfsystemsdomain"
SubClassName "general-amplifier"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
RFDATA "read(rfdata.data, 'default.s2p')"
InterpMethod "Linear"
IP3Type "OIP3"
IIP3 "inf"
OIP3 "inf"
NF "0"
DisplayData off
PlotFreq "Derived from Input Port parameters"
PlotFreqNoSim "Extracted from RFDATA object"
Freq "[1e9:1e8:2.9e9]"
AllPlotType "X-Y plane"
NetworkData "S21"
PowerData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
PowerFormat "dBm"
PhaseFormat "Angle (degrees)"
NoneFormat "None"
}
Block {
BlockType Reference
Name "Input Port1"
Description "source block"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [225, 120, 270, 180]
SourceBlock "rfports1/Input Port"
SourceType "Input Port"
ShowPortLabels on
MaxLength "128"
Fc "2.1e9"
Ts "2e-9"
Zs "50"
NoiseFlag off
seed "67987"
GoToTag "ABEFEBGPQZHFDPNKDXYXSYZ"
}
Block {
BlockType Reference
Name "Input Port2"
Description "source block"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [225, 215, 270, 275]
SourceBlock "rfports1/Input Port"
SourceType "Input Port"
ShowPortLabels on
MaxLength "128"
Fc "2.1e9"
Ts "2e-9"
Zs "50"
NoiseFlag off
seed "67987"
GoToTag "AABCDHEJCCIAUETPCUEKDDF"
}
Block {
BlockType Reference
Name "Input Port3"
Description "source block"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [225, 315, 270, 375]
SourceBlock "rfports1/Input Port"
SourceType "Input Port"
ShowPortLabels on
MaxLength "128"
Fc "2.1e9"
Ts "2e-9"
Zs "50"
NoiseFlag off
seed "67987"
GoToTag "ACDGCACDLCJGLTEVBAVQJJG"
}
Block {
BlockType Reference
Name "Input Port4"
Description "source block"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [225, 415, 270, 475]
SourceBlock "rfports1/Input Port"
SourceType "Input Port"
ShowPortLabels on
MaxLength "128"
Fc "2.1e9"
Ts "2e-9"
Zs "50"
NoiseFlag off
seed "67987"
GoToTag "ABADBGAQUFKBCIPAHXBDPOM"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [4, 1]
Position [770, 140, 840, 420]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [4, 1]
Position [775, 24, 830, 96]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Output Port1"
Ports [0, 1, 0, 0, 0, 1]
Position [635, 120, 680, 180]
SourceBlock "rfports1/Output Port"
SourceType "Output Port"
ShowPortLabels on
Zl "50"
num_Models "0"
GoToTag "ABEFEBGPQZHFDPNKDXYXSYZ"
DisplayData off
PlotFreq "Derived from Input Port parameters"
Freq "1e9:1e8:3e9"
AllPlotType "Composite data"
NoBudgetPlot "Composite data"
NetworkData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
DBMFormat "dBm"
NoneFormat "None"
Port {
PortNumber 1
Name "A"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Output Port2"
Ports [0, 1, 0, 0, 0, 1]
Position [635, 215, 680, 275]
SourceBlock "rfports1/Output Port"
SourceType "Output Port"
ShowPortLabels on
Zl "50"
num_Models "0"
GoToTag "AABCDHEJCCIAUETPCUEKDDF"
DisplayData off
PlotFreq "Derived from Input Port parameters"
Freq "1e9:1e8:3e9"
AllPlotType "Composite data"
NoBudgetPlot "Composite data"
NetworkData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
DBMFormat "dBm"
NoneFormat "None"
Port {
PortNumber 1
Name "B"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Output Port3"
Ports [0, 1, 0, 0, 0, 1]
Position [635, 315, 680, 375]
SourceBlock "rfports1/Output Port"
SourceType "Output Port"
ShowPortLabels on
Zl "50"
num_Models "0"
GoToTag "ACDGCACDLCJGLTEVBAVQJJG"
DisplayData off
PlotFreq "Derived from Input Port parameters"
Freq "1e9:1e8:3e9"
AllPlotType "Composite data"
NoBudgetPlot "Composite data"
NetworkData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
DBMFormat "dBm"
NoneFormat "None"
Port {
PortNumber 1
Name "C"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Output Port4"
Ports [0, 1, 0, 0, 0, 1]
Position [635, 415, 680, 475]
SourceBlock "rfports1/Output Port"
SourceType "Output Port"
ShowPortLabels on
Zl "50"
num_Models "0"
GoToTag "ABADBGAQUFKBCIPAHXBDPOM"
DisplayData off
PlotFreq "Derived from Input Port parameters"
Freq "1e9:1e8:3e9"
AllPlotType "Composite data"
NoBudgetPlot "Composite data"
NetworkData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
DBMFormat "dBm"
NoneFormat "None"
Port {
PortNumber 1
Name "D"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType SubSystem
Name "Transfer Function "
Ports [2, 2]
Position [895, 29, 990, 151]
BackgroundColor "gray"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "FFT length (power of 2):|Spectral Averaging Fac"
"tor (>=1):|Percentage of Alias Free Data (<=100)|Unwrap Phase"
MaskStyleString "edit,edit,edit,checkbox"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "NFFT=@1;Navg=@2;pcnt=@3;unwrap_flag=@4;"
MaskDisplay "disp('Transfer Function \\n Estimation')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1024|100|100|on"
MaskTabNameString ",,,"
System {
Name "Transfer Function "
Location [10, 78, 1247, 418]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Reference"
Position [15, 48, 45, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Response"
Position [15, 128, 45, 142]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [70, 30, 120, 80]
ShowName off
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "NFFT"
V "NFFT/2"
ic "0"
}
Block {
BlockType Reference
Name "Buffer1"
Ports [1, 1]
Position [75, 110, 125, 160]
ShowName off
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "NFFT"
V "NFFT/2"
ic "0"
}
Block {
BlockType Constant
Name "Complex Range"
Position [270, 175, 300, 205]
Value "[1:round(NFFT*pcnt/200),round(1+NFFT-NFFT*p"
"cnt/200):NFFT];"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle"
Ports [1, 1]
Position [870, 120, 900, 150]
Output "Angle"
}
Block {
BlockType Reference
Name "Downsample1"
Ports [1, 1]
Position [325, 38, 360, 72]
ShowName off
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "2"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Downsample2"
Ports [1, 1]
Position [325, 118, 360, 152]
ShowName off
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "2"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [265, 38, 305, 72]
ShowName off
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm off
allowOverrides on
firstCoeffMode "Specify word length"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as input"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "FFT1"
Ports [1, 1]
Position [265, 118, 305, 152]
ShowName off
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm off
allowOverrides on
firstCoeffMode "User-defined"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as input"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -