📄 sparam_1.mdl
字号:
}
Line {
SrcBlock "sampler"
SrcPort 1
Points [40, 0; 0, 25]
DstBlock "Transfer Function"
DstPort 1
}
Line {
SrcBlock "anti alias"
SrcPort 1
DstBlock "sampler"
DstPort 1
}
Line {
SrcBlock "Reference "
SrcPort 1
DstBlock "anti alias"
DstPort 1
}
Line {
SrcBlock "sampler1"
SrcPort 1
Points [40, 0; 0, -30]
DstBlock "Transfer Function"
DstPort 2
}
Line {
SrcBlock "anti alias1"
SrcPort 1
DstBlock "sampler1"
DstPort 1
}
Line {
SrcBlock "Response"
SrcPort 1
DstBlock "anti alias1"
DstPort 1
}
Line {
SrcBlock "Uniform Random\nNumber"
SrcPort 1
DstBlock "anti alias2"
DstPort 1
}
Line {
SrcBlock "anti alias2"
SrcPort 1
DstBlock "Excitation"
DstPort 1
}
Line {
SrcBlock "Transfer Function"
SrcPort 1
DstBlock "Magnitude in dB"
DstPort 1
}
Line {
SrcBlock "Transfer Function"
SrcPort 2
Points [35, 0; 0, 45]
DstBlock "Phase in Degrees"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gl"
Position [770, 135, 800, 165]
Orientation "down"
NamePlacement "alternate"
Gain ".5"
Port {
PortNumber 1
Name "a2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Gain
Name "Gs"
Position [295, 130, 325, 160]
Orientation "up"
Gain ".5"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [660, 65, 680, 85]
ShowName off
IconShape "round"
Inputs "|++"
Port {
PortNumber 1
Name "b2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [425, 225, 445, 245]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "++|"
Port {
PortNumber 1
Name "b1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [300, 65, 320, 85]
ShowName off
IconShape "round"
Inputs "|++"
Port {
PortNumber 1
Name "a1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType TransferFcn
Name "s11"
Position [384, 140, 486, 180]
Orientation "down"
NamePlacement "alternate"
Numerator "s904(1,1).num"
Denominator "s904(1,1).den"
}
Block {
BlockType TransferFcn
Name "s12"
Position [500, 216, 595, 254]
Orientation "left"
Numerator "s904(1,2).num"
Denominator "s904(1,2).den"
}
Block {
BlockType TransferFcn
Name "s21"
Position [500, 56, 595, 94]
Numerator "s904(2,1).num"
Denominator "s904(2,1).den"
}
Block {
BlockType TransferFcn
Name "s22"
Position [622, 140, 718, 180]
Orientation "up"
NamePlacement "alternate"
Numerator "s904(2,2).num"
Denominator "s904(2,2).den"
}
Line {
SrcBlock "s22"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "s21"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "s12"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "s11"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
Name "b2"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
Points [100, 0]
DstBlock "Gl"
DstPort 1
}
Line {
Name "a1"
Labels [0, 0]
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [85, 0]
Branch {
DstBlock "s11"
DstPort 1
}
Branch {
DstBlock "s21"
DstPort 1
}
}
Branch {
Points [0, -55; -315, 0; 0, 40]
DstBlock "Base Band Transfer Function1"
DstPort 1
}
}
Line {
SrcBlock "Gs"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
Name "b1"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; -110, 0]
Branch {
DstBlock "Gs"
DstPort 1
}
Branch {
Points [-275, 0; 0, -150]
DstBlock "Base Band Transfer Function1"
DstPort 2
}
}
Line {
Name "a2"
Labels [2, 0]
SrcBlock "Gl"
SrcPort 1
Points [0, 65; -115, 0]
Branch {
DstBlock "s22"
DstPort 1
}
Branch {
DstBlock "s12"
DstPort 1
}
}
Line {
SrcBlock "Base Band Transfer Function1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Annotation {
Name "b1/a1 = s11 of entire network"
Position [174, 162]
}
Annotation {
Name "This model uses the s-plane S parameters that w"
"ere \nderived using the sp2sd.m script. Run the model and\nleave open so that"
" the frequency response plot is visible."
Position [370, 301]
HorizontalAlignment "left"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Note: Frequency scaled by 1000"
Position [287, 289]
}
}
}
MatData {
NumRecords 4
DataRecord {
Tag DataTag3
Data " %)30 . : 8 ( 0 % "
"\" $ ! 0 . . 8 ( ! % \" $ "
"& 0 0 !@ %=I;F1O=P "
}
DataRecord {
Tag DataTag2
Data " %)30 . : 8 ( 0 % "
"\" $ ! 0 . . 8 ( ! % \" $ "
"& 0 0 !@ %=I;F1O=P "
}
DataRecord {
Tag DataTag1
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag0
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
}
# Finite State Machines
#
# Stateflow Version 6.1 (R14SP1) dated Sep 7 2004, 18:52:26
#
#
Stateflow {
machine {
id 1
name "sparam_1"
created "30-Aug-2005 15:43:53"
isLibrary 0
firstTarget 9
sfVersion 61014000
}
chart {
id 2
name "Base Band Transfer Function1/Transfer Function/Embedded\n"
"MATLAB Function"
windowPosition [341.813 269.45 200.25 189.75]
viewLimits [0 156.75 0 153.75]
screen [1 1 1280 1024 1.333333333333333]
treeNode [0 3 0 0]
firstTransition 5
firstJunction 4
viewObj 2
machine 1
decomposition CLUSTER_CHART
type EML_CHART
firstData 6
chartFileNumber 1
disableImplicitCasting 1
eml {
name "unwrapper"
}
}
state {
id 3
labelString "eML_blk_kernel()"
position [18 64.5 118 66]
fontSize 12
chart 2
treeNode [2 0 0 0]
superState SUBCHART
subviewer 2
type FUNC_STATE
decomposition CLUSTER_STATE
eml {
isEML 1
script "function y = unwrapper(u)\n"
"% y = unwrapper(u)\n"
"% RAB\n"
"\n"
"y = zeros(size(u)); % establish size\n"
"y = unwrap(fftshift(u),0.8*pi); % need to deal with the shi"
"ft before unwrap\n"
"% pin \"dc\" to be zero phase shift and reintroduce the \"s"
"hift\" for display\n"
"y = ifftshift(y-y(length(y)/2));\n"
"\n"
""
editorLayout "100 M4x1[146 214 671 364]"
}
}
junction {
id 4
position [23.5747 49.5747 7]
chart 2
linkNode [2 0 0]
subviewer 2
type CONNECTIVE_JUNCTION
}
transition {
id 5
labelString "{eML_blk_kernel();}"
labelPosition [32.125 19.875 102.544 14.964]
fontSize 12
src {
intersection [0 0 1 0 23.5747 14.625 0 0]
}
dst {
id 4
intersection [7 0 -1 -1 23.5747 42.5747 0 0]
}
midPoint [23.5747 24.9468]
chart 2
linkNode [2 0 0]
dataLimits [21.175 25.975 14.625 42.575]
subviewer 2
drawStyle SMART
}
data {
id 6
name "u"
linkNode [2 0 7]
scope INPUT_DATA
machine 1
dataType "inherited"
fixptType {
bias 0
slope 1
exponent 0
baseType SF_INT16_TYPE
lock 0
}
dlgFixptMode 0
complexity SF_COMPLEX_INHERITED
props {
range {
minimum ""
maximum ""
}
array {
size "-1"
firstIndex "1"
}
}
}
data {
id 7
name "y"
linkNode [2 6 0]
scope OUTPUT_DATA
machine 1
dataType "inherited"
fixptType {
bias 0
slope 1
exponent 0
baseType SF_INT16_TYPE
lock 0
}
dlgFixptMode 0
complexity SF_COMPLEX_INHERITED
props {
range {
minimum ""
maximum ""
}
array {
size "-1"
firstIndex "1"
}
}
}
instance {
id 8
name "Base Band Transfer Function1/Transfer Function/Embedded\n"
"MATLAB Function"
machine 1
chart 2
}
target {
id 9
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -