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

📄 dp22a_nc.mdl

📁 书籍代码:遗传演算法原理与应用_活用MATLAB(Source Code)
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold1"
	  SrcPort		  1
	  DstBlock		  "v"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [290, 145, 310, 165]
      DisplayTime	      off
      Decimation	      "10"
    }
    Block {
      BlockType		      DiscreteIntegrator
      Name		      "Discrete-Time\nIntegrator"
      Ports		      [1, 1]
      Position		      [190, 54, 210, 96]
      IntegratorMethod	      "BackwardEuler"
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "20"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [85, 144, 140, 176]
      Gain		      "0.002"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Gain
      Name		      "Gain3"
      Position		      [425, 31, 480, 69]
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Gain
      Name		      "Gain6"
      Position		      [430, 137, 495, 173]
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [395, 31, 400, 69]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "NN Subsystem"
      Ports		      [2, 1]
      Position		      [235, 22, 270, 73]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"NN Subsystem"
	Location		[283, 74, 788, 284]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "e"
	  Position		  [25, 33, 55, 47]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "ie"
	  Position		  [20, 93, 50, 107]
	  Port			  "2"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [365, 33, 430, 67]
	  Gain			  "2000"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [220, 31, 225, 69]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Neural Network"
	  Ports			  [1, 1]
	  Position		  [240, 30, 300, 70]
	  BackgroundColor	  "lightBlue"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "Neural Network"
	    Location		    [480, 85, 980, 386]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "p{1}"
	      Position		      [40, 40, 60, 60]
	      BackgroundColor	      "magenta"
	      Port		      "1"
	      PortDimensions	      "2"
	      SampleTime	      "0.01"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      From
	      Name		      " a{1} "
	      Position		      [40, 120, 60, 140]
	      GotoTag		      "feedback1"
	      MaskDisplay	      "plot(cos(0:.1:2*pi),sin(0:.1:2*pi))"
	      MaskIconFrame	      off
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Layer 1"
	      Ports		      [1, 1]
	      Position		      [190, 40, 250, 60]
	      BackgroundColor	      "lightBlue"
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"Layer 1"
		Location		[480, 85, 980, 386]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "p{1}"
		  Position		  [40, 40, 60, 60]
		  BackgroundColor	  "magenta"
		  Port			  "1"
		  PortDimensions	  "2"
		  SampleTime		  "0.01"
		  Interpolate		  on
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Delays 1"
		  Ports			  [1, 1]
		  Position		  [100, 40, 120, 60]
		  BackgroundColor	  "lightBlue"
		  ShowPortLabels	  on
		  TreatAsAtomicUnit	  off
		  RTWSystemCode		  "Auto"
		  RTWFcnNameOpts	  "Auto"
		  RTWFileNameOpts	  "Auto"
		  MaskDisplay		  "disp('TDL')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "Delays 1"
		    Location		    [480, 85, 980, 386]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    AutoZoom		    on
		    Block {
		    BlockType		    Inport
		    Name		    "p{1}"
		    Position		    [60, 40, 80, 60]
		    Orientation		    "down"
		    BackgroundColor	    "magenta"
		    NamePlacement	    "alternate"
		    Port		    "1"
		    PortDimensions	    "2"
		    SampleTime		    "0.01"
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "mux"
		    Ports		    [1, 1]
		    Position		    [200, 60, 240, 80]
		    BackgroundColor	    "lightBlue"
		    Inputs		    "1"
		    DisplayOption	    "none"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "pd{1,1}"
		    Position		    [300, 60, 320, 80]
		    BackgroundColor	    "magenta"
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "mux"
		    SrcPort		    1
		    DstBlock		    "pd{1,1}"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "p{1}"
		    SrcPort		    1
		    DstBlock		    "mux"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "IW{1,1}"
		  Ports			  [1, 1]
		  Position		  [160, 40, 200, 60]
		  BackgroundColor	  "lightBlue"
		  ShowPortLabels	  on
		  TreatAsAtomicUnit	  off
		  RTWSystemCode		  "Auto"
		  RTWFcnNameOpts	  "Auto"
		  RTWFileNameOpts	  "Auto"
		  MaskDisplay		  "disp('weight')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "IW{1,1}"
		    Location		    [480, 85, 980, 386]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    AutoZoom		    on
		    Block {
		    BlockType		    Inport
		    Name		    "pd{1,1}"
		    Position		    [40, 240, 60, 260]
		    BackgroundColor	    "magenta"
		    Port		    "1"
		    PortDimensions	    "2"
		    SampleTime		    "0.01"
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Constant
		    Name		    "IW{1,1}(1,:)'"
		    Position		    [140, 40, 180, 60]
		    BackgroundColor	    "lightBlue"
		    Value		    "[1.0429734069356253;-1.0940809806"
"372429]"
		    VectorParams1D	    on
		    MaskDisplay		    "disp('weights')"
		    MaskIconFrame	    on
		    MaskIconOpaque	    on
		    MaskIconRotate	    "none"
		    MaskIconUnits	    "autoscale"
		    }
		    Block {
		    BlockType		    Constant
		    Name		    "IW{1,1}(2,:)'"
		    Position		    [140, 100, 180, 120]
		    BackgroundColor	    "lightBlue"
		    Value		    "[-9.8472364857420907;45.219584570"
"50134]"
		    VectorParams1D	    on
		    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"
		    Value		    "[0.11001226175736319;0.8559811342"
"855197]"
		    VectorParams1D	    on
		    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"
		    Value		    "[0.56738601843190895;0.2223839147"
"2504182]"
		    VectorParams1D	    on
		    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"
		    Value		    "[-1.0890189907734846;1.0614267723"
"761528]"
		    VectorParams1D	    on
		    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"
		    Value		    "[-2.8812536758670362;-2.703545180"
"2489732]"
		    VectorParams1D	    on
		    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"
		    Value		    "[2.6805287270936184;2.72106252378"
"25745]"
		    VectorParams1D	    on
		    MaskDisplay		    "disp('weights')"
		    MaskIconFrame	    on
		    MaskIconOpaque	    on
		    MaskIconRotate	    "none"
		    MaskIconUnits	    "autoscale"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [7, 1]
		    Position		    [340, 235, 380, 265]
		    Inputs		    "7"
		    DisplayOption	    "none"
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod1"
		    Ports		    [2, 1]
		    Position		    [240, 40, 260, 80]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod2"
		    Ports		    [2, 1]
		    Position		    [240, 100, 260, 140]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod3"
		    Ports		    [2, 1]
		    Position		    [240, 160, 260, 200]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod4"
		    Ports		    [2, 1]
		    Position		    [240, 220, 260, 260]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod5"
		    Ports		    [2, 1]
		    Position		    [240, 280, 260, 320]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod6"
		    Ports		    [2, 1]
		    Position		    [240, 340, 260, 380]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "dotprod7"
		    Ports		    [2, 1]
		    Position		    [240, 400, 260, 440]
		    BackgroundColor	    "lightBlue"
		    SourceBlock		    "neural/Weight Functions/dotprod"
		    SourceType		    ""
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "iz{1,1}"
		    Position		    [420, 240, 440, 260]
		    BackgroundColor	    "magenta"
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "Mux"
		    SrcPort		    1
		    DstBlock		    "iz{1,1}"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "dotprod7"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    7
		    }
		    Line {
		    SrcBlock		    "IW{1,1}(7,:)'"
		    SrcPort		    1
		    DstBlock		    "dotprod7"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "dotprod6"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    6
		    }

⌨️ 快捷键说明

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