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

📄 fdctools.mdl

📁 matlab的FDC工具箱
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "u"
	  Position		  [15, 88, 45, 102]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [220, 90, 270, 110]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Value			  "[0 1 0]'"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Dot 1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [320, 44, 345, 71]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  MaskType		  "Dot Product"
	  MaskDescription	  "Inner (dot) product.\ny=sum(u1.*u2)       "
	  MaskHelp		  "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2).  The inputs are vectors of the same length. Output is a sca"
"lar."
	  MaskInitialization	  "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);\nr=0."
"05;"
	  MaskDisplay		  "patch([x*r+0.5],[y*r+0.5])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  System {
	    Name		    "Dot 1"
	    Location		    [50, 125, 283, 259]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 32, 45, 48]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [15, 77, 45, 93]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [85, 46, 165, 79]
	      ShowName		      off
	      FunctionName	      "sdotproduct"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 56, 220, 74]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 15]
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -15]
	      DstBlock		      "S-Function"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Dot 2"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [320, 79, 345, 106]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  MaskType		  "Dot Product"
	  MaskDescription	  "Inner (dot) product.\ny=sum(u1.*u2)       "
	  MaskHelp		  "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2).  The inputs are vectors of the same length. Output is a sca"
"lar."
	  MaskInitialization	  "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);\nr=0."
"05;"
	  MaskDisplay		  "patch([x*r+0.5],[y*r+0.5])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  System {
	    Name		    "Dot 2"
	    Location		    [50, 125, 283, 259]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 32, 45, 48]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [15, 77, 45, 93]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [85, 46, 165, 79]
	      ShowName		      off
	      FunctionName	      "sdotproduct"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 56, 220, 74]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 15]
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -15]
	      DstBlock		      "S-Function"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Dot 3"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [320, 114, 345, 141]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  MaskType		  "Dot Product"
	  MaskDescription	  "Inner (dot) product.\ny=sum(u1.*u2)       "
	  MaskHelp		  "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2).  The inputs are vectors of the same length. Output is a sca"
"lar."
	  MaskInitialization	  "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);\nr=0."
"05;"
	  MaskDisplay		  "patch([x*r+0.5],[y*r+0.5])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  System {
	    Name		    "Dot 3"
	    Location		    [50, 125, 283, 259]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 32, 45, 48]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [15, 77, 45, 93]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [85, 46, 165, 79]
	      ShowName		      off
	      FunctionName	      "sdotproduct"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 56, 220, 74]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 15]
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -15]
	      DstBlock		      "S-Function"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1, 0, 0, 0]
	  Position		  [380, 40, 385, 150]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "[C 0 -S]"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [170, 49, 270, 76]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  MaskType		  "[cos(u) 0 -sin(u)]"
	  MaskDisplay		  "disp('[cos(u) 0 -sin(u)]''');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "[C 0 -S]"
	    Location		    [36, 76, 281, 227]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "cos(u)"
	      Position		      [15, 38, 45, 52]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      PortWidth		      "1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "sin(u)"
	      Position		      [15, 108, 45, 122]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "2"
	      PortWidth		      "1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "0"
	      Position		      [15, 72, 45, 88]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [70, 100, 100, 130]
	      ShowName		      off
	      FontName		      "Arial"
	      Gain		      "-1"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1, 0, 0, 0]
	      Position		      [125, 28, 130, 132]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "[cos(u) 0 -sin(u)]'"
	      Position		      [170, 73, 200, 87]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "sin(u)"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "[cos(u) 0 -sin(u)]'"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "cos(u)"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "0"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "[S 0 C]"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [170, 119, 270, 146]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  MaskType		  "[sin(u) 0 cos(u)]"
	  MaskDisplay		  "disp('[sin(u) 0 cos(u)]''');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "[S 0 C]"
	    Location		    [39, 74, 257, 223]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "cos(u)"
	      Position		      [20, 108, 50, 122]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      PortWidth		      "1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "sin(u)"
	      Position		      [20, 38, 50, 52]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "2"
	      PortWidth		      "1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "0"

⌨️ 快捷键说明

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