⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nn.mdl

📁 一个神经网络的M生成程序和SIMULINK模型
💻 MDL
📖 第 1 页 / 共 3 页
字号:
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "-27.626089485775697"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(3,:)'"
		  Position		  [140, 160, 180, 180]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "26.619371191286962"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(4,:)'"
		  Position		  [140, 220, 180, 240]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "-25.763745141742575"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(5,:)'"
		  Position		  [140, 280, 180, 300]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "26.662268915036247"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(6,:)'"
		  Position		  [140, 340, 180, 360]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "28.109138102301788"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(7,:)'"
		  Position		  [140, 400, 180, 420]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "-25.581600820838176"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(8,:)'"
		  Position		  [140, 460, 180, 480]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "-24.774755639988733"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Constant
		  Name			  "IW{1,1}(9,:)'"
		  Position		  [140, 520, 180, 540]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  Value			  "26.937552664219229"
		  MaskDisplay		  "disp('weights')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [10, 1]
		  Position		  [345, 300, 380, 390]
		  FontName		  "Arial"
		  FontSize		  15
		  Inputs		  "10"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod1"
		  Ports			  [2, 1]
		  Position		  [240, 40, 260, 80]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod10"
		  Ports			  [2, 1]
		  Position		  [240, 580, 260, 620]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod2"
		  Ports			  [2, 1]
		  Position		  [240, 100, 260, 140]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod3"
		  Ports			  [2, 1]
		  Position		  [240, 160, 260, 200]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod4"
		  Ports			  [2, 1]
		  Position		  [240, 220, 260, 260]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod5"
		  Ports			  [2, 1]
		  Position		  [240, 280, 260, 320]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod6"
		  Ports			  [2, 1]
		  Position		  [240, 340, 260, 380]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod7"
		  Ports			  [2, 1]
		  Position		  [240, 400, 260, 440]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod8"
		  Ports			  [2, 1]
		  Position		  [240, 460, 260, 500]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Reference
		  Name			  "dotprod9"
		  Ports			  [2, 1]
		  Position		  [240, 520, 260, 560]
		  BackgroundColor	  "lightBlue"
		  FontName		  "Arial"
		  FontSize		  15
		  SourceBlock		  "neural/Weight Functions/dotprod"
		  SourceType		  "Unknown"
		}
		Block {
		  BlockType		  Outport
		  Name			  "iz{1,1}"
		  Position		  [420, 335, 440, 355]
		  BackgroundColor	  "magenta"
		  FontName		  "Arial"
		  FontSize		  15
		}
		Line {
		  SrcBlock		  "IW{1,1}(1,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "pd{1,1}"
		  SrcPort		  1
		  Points		  [40, 0]
		  Branch {
		    DstBlock		    "dotprod1"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod2"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod3"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod4"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod5"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod6"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod7"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod8"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod9"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "dotprod10"
		    DstPort		    2
		  }
		}
		Line {
		  SrcBlock		  "dotprod1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "IW{1,1}(2,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod2"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "IW{1,1}(3,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod3"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "IW{1,1}(4,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod4"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "IW{1,1}(5,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod5"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod5"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  5
		}
		Line {
		  SrcBlock		  "IW{1,1}(6,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod6"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod6"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  6
		}
		Line {
		  SrcBlock		  "IW{1,1}(7,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod7"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "dotprod7"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  7
		}
		Line {
		  SrcBlock		  "IW{1,1}(8,:)'"
		  SrcPort		  1
		  DstBlock		  "dotprod8"
		  DstPort		  1
		}
		Line {
		  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		  "Mux"
		  SrcPort		  1
		  DstBlock		  "iz{1,1}"
		  DstPort		  1
		}
		Annotation {
		  Position		  [729, 232]
		}
	      }
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "b{1}"
	      Position		      [160, 80, 200, 100]
	      BackgroundColor	      "lightBlue"
	      Value		      "[-26.88353234211128;24.43092861976691;-"
"21.203001127129824;18.030174680919025;-16.503632635484959;-11.089380252427514"
";7.9730664186775151;5.0881845319395094;-2.7468786878606037;0.4410144550896761"
"8]"
	      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		      SubSystem
	      Name		      "tansig"
	      Ports		      [1, 1]
	      Position		      [300, 60, 320, 80]
	      BackgroundColor	      "lightBlue"
	      AncestorBlock	      "neural/Transfer Functions/tansig"
	      TreatAsAtomicUnit	      off
	      MaskDescription	      "Hyperbolic tangent sigmoid transfer fun"
"ction"
	      MaskHelp		      "eval('nnetbhelp(''tansig'')');\n   \n"
	      MaskDisplay	      "plot([-1 1],[0 0],[-1 -.9 -.8 -.7 -.6 -"
".5 -.4 -.3 -.2 -.1 0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1],2./(1+exp(-8*[-1 -.9 -.8 -"
".7 -.6 -.5 -.4 -.3 -.2 -.1 0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1]))-1)"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"tansig"
		Location		[2, 78, 1022, 717]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "n"
		  Position		  [145, 218, 175, 232]
		}
		Block {
		  BlockType		  ElementaryMath
		  Name			  "Exp"
		  Ports			  [1, 1]
		  Position		  [275, 210, 305, 240]
		  Operator		  "exp"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [210, 210, 240, 240]
		  Gain			  "-2"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [490, 215, 520, 245]
		  Gain			  "2"
		}
		Block {
		  BlockType		  ElementaryMath
		  Name			  "Reciprocal"
		  Ports			  [1, 1]
		  Position		  [415, 215, 445, 245]
		  Operator		  "reciprocal"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [345, 212, 375, 243]
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum1"
		  Ports			  [2, 1]
		  Position		  [565, 212, 595, 243]
		  Inputs		  "+-"
		}
		Block {
		  BlockType		  Constant
		  Name			  "one"
		  Position		  [250, 270, 270, 290]
		}
		Block {
		  BlockType		  Constant
		  Name			  "one1"
		  Position		  [495, 270, 515, 290]
		}
		Block {
		  BlockType		  Outport
		  Name			  "a"
		  Position		  [635, 223, 665, 237]
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "n"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  DstBlock		  "Exp"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Exp"
		  SrcPort		  1
		  Points		  [20, 0]
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -