📄 nn.mdl
字号:
SrcBlock "dotprod8"
SrcPort 1
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "IW{1,1}(9,:)'"
SrcPort 1
DstBlock "dotprod9"
DstPort 1
}
Line {
SrcBlock "dotprod9"
SrcPort 1
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "IW{1,1}(10,:)'"
SrcPort 1
DstBlock "dotprod10"
DstPort 1
}
Line {
SrcBlock "dotprod10"
SrcPort 1
DstBlock "Mux"
DstPort 10
}
Line {
SrcBlock "IW{1,1}(11,:)'"
SrcPort 1
DstBlock "dotprod11"
DstPort 1
}
Line {
SrcBlock "dotprod11"
SrcPort 1
DstBlock "Mux"
DstPort 11
}
Line {
SrcBlock "IW{1,1}(12,:)'"
SrcPort 1
DstBlock "dotprod12"
DstPort 1
}
Line {
SrcBlock "dotprod12"
SrcPort 1
DstBlock "Mux"
DstPort 12
}
Line {
SrcBlock "IW{1,1}(13,:)'"
SrcPort 1
DstBlock "dotprod13"
DstPort 1
}
Line {
SrcBlock "dotprod13"
SrcPort 1
DstBlock "Mux"
DstPort 13
}
Line {
SrcBlock "IW{1,1}(14,:)'"
SrcPort 1
DstBlock "dotprod14"
DstPort 1
}
Line {
SrcBlock "dotprod14"
SrcPort 1
DstBlock "Mux"
DstPort 14
}
Line {
SrcBlock "IW{1,1}(15,:)'"
SrcPort 1
DstBlock "dotprod15"
DstPort 1
}
Line {
SrcBlock "dotprod15"
SrcPort 1
DstBlock "Mux"
DstPort 15
}
Line {
SrcBlock "IW{1,1}(16,:)'"
SrcPort 1
DstBlock "dotprod16"
DstPort 1
}
Line {
SrcBlock "dotprod16"
SrcPort 1
DstBlock "Mux"
DstPort 16
}
Line {
SrcBlock "IW{1,1}(17,:)'"
SrcPort 1
DstBlock "dotprod17"
DstPort 1
}
Line {
SrcBlock "dotprod17"
SrcPort 1
DstBlock "Mux"
DstPort 17
}
Line {
SrcBlock "IW{1,1}(18,:)'"
SrcPort 1
DstBlock "dotprod18"
DstPort 1
}
Line {
SrcBlock "dotprod18"
SrcPort 1
DstBlock "Mux"
DstPort 18
}
Line {
SrcBlock "IW{1,1}(19,:)'"
SrcPort 1
DstBlock "dotprod19"
DstPort 1
}
Line {
SrcBlock "dotprod19"
SrcPort 1
DstBlock "Mux"
DstPort 19
}
Line {
SrcBlock "IW{1,1}(20,:)'"
SrcPort 1
DstBlock "dotprod20"
DstPort 1
}
Line {
SrcBlock "dotprod20"
SrcPort 1
DstBlock "Mux"
DstPort 20
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "iz{1,1}"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{1}"
Position [160, 80, 200, 100]
BackgroundColor "lightBlue"
Value "[-28.202932166567987;25.374441403387639"
";22.045884176459285;19.144131779042247;-16.214737927964478;13.301741540662574"
";10.326975536596638;-7.3552833359911913;4.357122488327752;-1.1839902778566331"
";1.4869001829196054;4.4210731607878637;7.368419685930963;10.315789469260713;-"
"13.263157894733043;16.210526315789433;-19.157894736842099;22.105263157894736;"
"25.052631578947366;28]"
MaskDisplay "disp('bias')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Sum
Name "netsum"
Ports [2, 1]
Position [240, 60, 260, 80]
BackgroundColor "lightBlue"
Inputs "2"
}
Block {
BlockType Reference
Name "tansig"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/tansig"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Outport
Name "a{1}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
InitialOutput "[0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;"
"0]"
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Delays 1"
DstPort 1
}
Line {
SrcBlock "Delays 1"
SrcPort 1
DstBlock "IW{1,1}"
DstPort 1
}
Line {
SrcBlock "IW{1,1}"
SrcPort 1
DstBlock "netsum"
DstPort 1
}
Line {
SrcBlock "b{1}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "tansig"
DstPort 1
}
Line {
SrcBlock "tansig"
SrcPort 1
DstBlock "a{1}"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Layer 2"
Ports [1, 1]
Position [190, 80, 250, 100]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Layer 2"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "a{1} "
Position [40, 40, 60, 60]
BackgroundColor "magenta"
IconDisplay "Port number"
PortDimensions "20"
}
Block {
BlockType SubSystem
Name "Delays 1"
Ports [1, 1]
Position [100, 40, 120, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('TDL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Delays 1"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "p{2}"
Position [60, 40, 80, 60]
Orientation "down"
BackgroundColor "magenta"
NamePlacement "alternate"
IconDisplay "Port number"
PortDimensions "20"
}
Block {
BlockType Mux
Name "mux"
Ports [1, 1]
Position [200, 60, 240, 80]
BackgroundColor "lightBlue"
Inputs "1"
}
Block {
BlockType Outport
Name "pd{2,1}"
Position [300, 60, 320, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
}
Line {
SrcBlock "p{2}"
SrcPort 1
DstBlock "mux"
DstPort 1
}
Line {
SrcBlock "mux"
SrcPort 1
DstBlock "pd{2,1}"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "LW{2,1}"
Ports [1, 1]
Position [160, 40, 200, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('weight')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "LW{2,1}"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ad{2,1}"
Position [40, 330, 60, 350]
BackgroundColor "magenta"
IconDisplay "Port number"
PortDimensions "20"
}
Block {
BlockType Constant
Name "IW{2,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "[-1.0917921090676193;-0.27143044267"
"597222;-0.063272440084119128;0.3132526493539044;-0.25044867052437336;-0.40781"
"17770824673;-0.1847056377387328;0.60392751290917024;-0.32581072356748575;0.05"
"521112720841672;-0.0043173469654518943;0.40436175278262843;-0.054274307271404"
"768;-0.010252290290638944;-0.6136043541661359;-0.44618877644562926;0.46425923"
"5766598;0.14165325375550505;-0.31269360717532962;-0.42253124229376898]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(10,:)'"
Position [140, 580, 180, 600]
BackgroundColor "lightBlue"
Value "[0.41266933326162858;0.369607653903"
"57142;0.075906665640276108;0.45181252998046051;0.15239869528769626;-0.3983277"
"1825274899;-0.019081354863359927;-0.53279470043654309;0.36746581340393403;0.7"
"3502465841074216;0.029261915654272989;-0.18742733694089947;0.2149106160566816"
"9;-0.55734359120063526;0.4716047950304853;-0.48410296661052554;-0.29056606837"
"343057;0.4186421893476423;0.24054139282947959;-0.10450039726924909]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(2,:)'"
Position [140, 100, 180, 120]
BackgroundColor "lightBlue"
Value "[0.4844415188607254;-0.361876791627"
"86801;-0.026786339751207606;0.36802967613216886;-0.35345878199771175;0.359558"
"80708224092;0.34552603259704623;0.038710297222095034;-0.39136703450313665;-0."
"37413250547231652;0.15728712817618429;-0.23346571341215897;-0.438269264839168"
"95;-0.28404187104021977;0.12118547177108716;-0.58751106708292467;-0.370537532"
"09929802;-0.092678495432985092;-0.32741177247831649;-0.56699052620368473]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(3,:)'"
Position [140, 160, 180, 180]
BackgroundColor "lightBlue"
Value "[-0.097344749846027007;0.0661453400"
"85391829;0.48756922877832848;0.42768349722565108;-0.4649256518657488;-0.17275"
"726480175121;0.31637886293610001;-0.24594696905591812;-0.48013493616165515;0."
"41675142301158086;-0.11054688765161615;-0.32358678613252556;0.479632474917019"
"99;-0.2492598995989003;-0.21959043339653975;0.4300596819980021;-0.21418109880"
"18113;0.43981191955728433;0.33017723839639945;0.4523059672004206]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(4,:)'"
Position [140, 220, 180, 240]
BackgroundColor "lightBlue"
Value "[-1.0440729247413394;0.447834410938"
"73105;0.15784960517143484;-0.29373557686962221;-0.23799618935616756;-0.614191"
"03438828504;0.29255314965339818;-0.21208008819703641;-0.02243643684756547;0.2"
"0952032860040465;-0.26129730543885671;-0.0066199106995949641;0.33122067192827"
"12;-0.15226920161912125;-0.56639790410054425;-0.20574902669261708;0.318891476"
"12210317;-0.35343491950535733;-0.055976366534352756;-0.36029158432507186]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(5,:)'"
Position [140, 280, 180, 300]
BackgroundColor "lightBlue"
Value "[-0.28363682825920122;-0.0476961480"
"8857716;-0.19694370573292966;-0.3773402122566713;-0.10462739375795731;-0.0170"
"92834080151813;0.49016562148770693;-0.2173058801102542;0.56146408495224309;-0"
".11755996289282829;-0.58982669880887872;-0.17027222748637971;-0.4826514030370"
"0288;-0.23638910780760716;0.31535918390497208;-0.42124771204865313;0.28784307"
"981410417;0.496126192143656;-0.14795224553372083;-0.37946094233538857]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(6,:)'"
Position [140, 340, 180, 360]
BackgroundColor "lightBlue"
Value "[-0.52827119824542146;0.34963402119"
"897463;0.75326802282816641;-0.031677950966439543;-0.18911011430360103;0.14970"
"038527572932;-0.19787597645959726;0.14313888293993227;0.0070589890588988935;-"
"0.22662676310135832;-0.15938557399435138;-0.51467898062809847;-0.503189696360"
"48916;0.40634853980723123;0.04265652945445312;0.514121616572771;-0.0406653469"
"71362579;0.21905017302265725;-0.097439225565876905;0.57703936788070176]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -