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

📄 pahrah.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 5 页
字号:
			  Name			  "Fcn"
			  Position		  [210, 95, 250, 115]
			  FontName		  "Arial"
			  ShowName		  off
			  Expr			  "u[1]^2"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "Fcn1"
			  Position		  [210, 115, 250, 135]
			  FontName		  "Arial"
			  ShowName		  off
			  Expr			  "u[1]^3"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "Fcn2"
			  Position		  [210, 155, 250, 175]
			  FontName		  "Arial"
			  ShowName		  off
			  Expr			  "u[1]^2"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "Fcn3"
			  Position		  [210, 175, 250, 195]
			  FontName		  "Arial"
			  ShowName		  off
			  Expr			  "u[1]^3"
			}
			Block {
			  BlockType		  StateSpace
			  Name			  "Matrix Gain"
			  Position		  [480, 210, 540, 240]
			  FontName		  "Arial"
			  A			  "A"
			  B			  "B"
			  C			  "C"
			  D			  "D"
			  X0			  "0"
			  MaskType		  "Matrix Gain"
			  MaskDescription	  "Matrix Gain"
			  MaskHelp		  "This block implements "
						  "an matrix gain.\\nThe "
						  "matrix dimensions must "
						  "be in accordance\\nwith "
						  "the dimension of the "
						  "inputvector."
			  MaskPromptString	  "Gain matrix:"
			  MaskStyleString	  "edit"
			  MaskInitialization	  "A = []; B = []; C = []; "
						  "D = @1;"
			  MaskDisplay		  "disp('y = A*u')"
			  MaskIconFrame		  on
			  MaskIconOpaque	  on
			  MaskIconRotate	  none
			  MaskIconUnits		  autoscale
			  MaskValueString	  "AM"
			}
			Block {
			  BlockType		  Mux
			  Name			  "Mux"
			  Ports			  [17, 1, 0, 0, 0]
			  Position		  [415, 48, 420, 402]
			  BackgroundColor	  black
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "[1 1 1 1 1 1 1 3 1 1 "
						  "1 1 1 1 1 1 1]"
			}
			Block {
			  BlockType		  Product
			  Name			  "Product"
			  Ports			  [2, 1, 0, 0, 0]
			  Position		  [220, 330, 235, 350]
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "2"
			}
			Block {
			  BlockType		  Product
			  Name			  "Product1"
			  Ports			  [2, 1, 0, 0, 0]
			  Position		  [220, 355, 235, 375]
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "2"
			}
			Block {
			  BlockType		  Product
			  Name			  "Product2"
			  Ports			  [2, 1, 0, 0, 0]
			  Position		  [220, 380, 235, 400]
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "2"
			}
			Block {
			  BlockType		  Product
			  Name			  "Product3"
			  Ports			  [2, 1, 0, 0, 0]
			  Position		  [290, 405, 305, 425]
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "2"
			}
			Block {
			  BlockType		  Terminator
			  Name			  "Terminator"
			  Position		  [90, 83, 105, 97]
			  ShowName		  off
			}
			Block {
			  BlockType		  Terminator
			  Name			  "Terminator1"
			  Position		  [90, 128, 105, 142]
			  ShowName		  off
			}
			Block {
			  BlockType		  Constant
			  Name			  "const"
			  Position		  [350, 45, 370, 65]
			  FontName		  "Arial"
			  Value			  "1"
			}
			Block {
			  BlockType		  Constant
			  Name			  "const1"
			  Position		  [350, 420, 370, 440]
			  FontName		  "Arial"
			  Value			  "0"
			}
			Block {
			  BlockType		  Outport
			  Name			  "Caero"
			  Position		  [565, 215, 585, 235]
			  DropShadow		  on
			  FontName		  "Arial"
			  Port			  "1"
			  OutputWhenDisabled	  held
			  InitialOutput		  "0"
			}
			Line {
			  SrcBlock		  "Matrix Gain"
			  SrcPort		  1
			  DstBlock		  "Caero"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "Mux"
			  SrcPort		  1
			  DstBlock		  "Matrix Gain"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "x"
			  SrcPort		  1
			  DstBlock		  "Demux"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "Fcn"
			  SrcPort		  1
			  DstBlock		  "Mux"
			  DstPort		  3
			}
			Line {
			  SrcBlock		  "Fcn1"
			  SrcPort		  1
			  DstBlock		  "Mux"
			  DstPort		  4
			}
			Line {
			  SrcBlock		  "uaero"
			  SrcPort		  1
			  DstBlock		  "Demux1"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "Fcn3"
			  SrcPort		  1
			  DstBlock		  "Mux"
			  DstPort		  7
			}
			Line {
			  SrcBlock		  "Product"
			  SrcPort		  1
			  Points		  [110, 0; 0, -35]
			  DstBlock		  "Mux"
			  DstPort		  13
			}
			Line {
			  SrcBlock		  "Demux1"
			  SrcPort		  3
			  Points		  [105, 0]
			  Branch {
			    Points		    [0, 60]
			    DstBlock		    "Product1"
			    DstPort		    1
			  }
			  Branch {
			    Points		    [155, 0; 0, -15]
			    DstBlock		    "Mux"
			    DstPort		    12
			  }
			}
			Line {
			  Labels		  [0, 0]
			  SrcBlock		  "Demux1"
			  SrcPort		  2
			  Points		  [115, 0]
			  Branch {
			    Points		    [0, 100]
			    DstBlock		    "Product2"
			    DstPort		    1
			  }
			  Branch {
			    Points		    [135, 0; 0, -20]
			    DstBlock		    "Mux"
			    DstPort		    11
			  }
			}
			Line {
			  SrcBlock		  "Demux"
			  SrcPort		  3
			  Points		  [80, 0; 0, 25]
			  Branch {
			    Points		    [0, 20]
			    Branch {
			      Points		      [0, 20]
			      DstBlock		      "Fcn3"
			      DstPort		      1
			    }
			    Branch {
			      DstBlock		      "Fcn2"
			      DstPort		      1
			    }
			  }
			  Branch {
			    DstBlock		    "Mux"
			    DstPort		    5
			  }
			}
			Line {
			  SrcBlock		  "Demux"
			  SrcPort		  2
			  Points		  [70, 0]
			  Branch {
			    Labels		    [1, 0]
			    Points		    [0, 240]
			    Branch {
			      Points		      [0, 25]
			      Branch {
				Points			[0, 25]
				DstBlock		"Product2"
				DstPort			2
			      }
			      Branch {
				DstBlock		"Product1"
				DstPort			2
			      }
			    }
			    Branch {
			      DstBlock		      "Product"
			      DstPort		      2
			    }
			  }
			  Branch {
			    Points		    [20, 0]
			    Branch {
			      Points		      [0, 20]
			      DstBlock		      "Fcn1"
			      DstPort		      1
			    }
			    Branch {
			      DstBlock		      "Fcn"
			      DstPort		      1
			    }
			  }
			  Branch {
			    Labels		    [2, 0]
			    Points		    [0, -20]
			    DstBlock		    "Mux"
			    DstPort		    2
			  }
			}
			Line {
			  Labels		  [0, 0]
			  SrcBlock		  "Demux1"
			  SrcPort		  4
			  Points		  [125, 0]
			  Branch {
			    DstBlock		    "Product"
			    DstPort		    1
			  }
			  Branch {
			    Points		    [90, 0; 0, -70]
			    DstBlock		    "Mux"
			    DstPort		    10
			  }
			}
			Line {
			  SrcBlock		  "Fcn2"
			  SrcPort		  1
			  Points		  [10, 0]
			  Branch {
			    Points		    [0, 255]
			    DstBlock		    "Product3"
			    DstPort		    2
			  }
			  Branch {
			    DstBlock		    "Mux"
			    DstPort		    6
			  }
			}
			Line {
			  Labels		  [0, 0]
			  SrcBlock		  "Demux1"
			  SrcPort		  1
			  Points		  [195, 0]
			  Branch {
			    DstBlock		    "Product3"
			    DstPort		    1
			  }
			  Branch {
			    Points		    [35, 0; 0, -45]
			    DstBlock		    "Mux"
			    DstPort		    9
			  }
			}
			Line {
			  SrcBlock		  "Product1"
			  SrcPort		  1
			  Points		  [120, 0; 0, -40]
			  DstBlock		  "Mux"
			  DstPort		  14
			}
			Line {
			  SrcBlock		  "Product2"
			  SrcPort		  1
			  Points		  [130, 0; 0, -45]
			  DstBlock		  "Mux"
			  DstPort		  15
			}
			Line {
			  SrcBlock		  "Product3"
			  SrcPort		  1
			  Points		  [70, 0; 0, -50]
			  DstBlock		  "Mux"
			  DstPort		  16
			}
			Line {
			  Labels		  [0, 0]
			  SrcBlock		  "ydl"
			  SrcPort		  1
			  DstBlock		  "Mux"
			  DstPort		  8
			}
			Line {
			  SrcBlock		  "const"
			  SrcPort		  1
			  Points		  [15, 0; 0, 10]
			  DstBlock		  "Mux"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "const1"
			  SrcPort		  1
			  Points		  [15, 0; 0, -45]
			  DstBlock		  "Mux"
			  DstPort		  17
			}
			Line {
			  SrcBlock		  "Demux"
			  SrcPort		  1
			  DstBlock		  "Terminator"
			  DstPort		  1
			}
			Line {
			  SrcBlock		  "Demux"
			  SrcPort		  4
			  DstBlock		  "Terminator1"
			  DstPort		  1
			}
			Annotation {
			  Position		  [515, 267]
			  VerticalAlignment	  top
			  ForegroundColor	  red
			  FontName		  "Arial"
			  Text			  "Here: Caero=AM*ytmp"
			}
			Annotation {
			  Position		  [448, 212]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "ytmp"
			}
			Annotation {
			  Position		  [128, 92]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "alpha"
			}
			Annotation {
			  Position		  [104, 302]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "deltaf"
			}
			Annotation {
			  Position		  [104, 287]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "deltar"
			}
			Annotation {
			  Position		  [104, 272]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "deltaa "
			}
			Annotation {
			  Position		  [104, 257]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "deltae "
			}
			Annotation {
			  Position		  [125, 107]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "beta"
			}
			Annotation {
			  Position		  [92, 192]
			  VerticalAlignment	  top
			  FontName		  "Arial"
			  Text			  "[pb/2V qc/V rb/2V]'"
			}
			Annotation {
			  Position		  [378, 467]
			  VerticalAlignment	  top
			  ForegroundColor	  red
			  FontName		  "Arial"
			  Text			  "ytmp = [1  alpha  alpha^2  "
						  "alpha^3  beta  beta^2  "
						  "beta^3  pb/2V  qc/V  "
						  "rb/2V  deltae              "
						  "\ndeltaf  deltaa  deltar  "
						  "alpha*deltaf  alpha*deltar  "
						  "alpha*deltaa  deltae*beta^2 "
						  " 0 ]'"
			}
		      }
		    }
		    Block {
		      BlockType		      SubSystem
		      Name		      "dl"
		      Ports		      [1, 1, 0, 0, 0]
		      Position		      [75, 59, 135, 91]
		      FontName		      "Arial"
		      ShowName		      off
		      ShowPortLabels	      off
		      MaskType		      "Dimless"
		      MaskDescription	      "Dimensionless rotational "
					      "velocities."
		      MaskHelp		      "eval('fdchelp dimless')"
		      MaskPromptString	      "Mean aerodynamic chord [m]:|Wing"
					      " span [m]:"
		      MaskStyleString	      "edit,edit"
		      MaskVariables	      "cbar=@1;b=@2;"
		      MaskDisplay	      "disp('Dimless')"
		      MaskIconFrame	      on
		      MaskIconOpaque	      on
		      MaskIconRotate	      none
		      MaskIconUnits	      autoscale
		      MaskValueString	      "GM1(1)|GM1(2)"
		      System {
			Name			"dl"
			Location		[4, 42, 330, 230]
			Open			off
			ScreenColor		white
			Block {
			  BlockType		  Inport
			  Name			  "x"
			  Position		  [15, 100, 35, 120]
			  DropShadow		  on
			  FontName		  "Arial"
			  Port			  "1"
			  PortWidth		  "-1"
			  SampleTime		  "-1"
			}
			Block {
			  BlockType		  SubSystem
			  Name			  "0"
			  Ports			  [0, 0, 0, 0, 0]
			  Position		  [10, 10, 165, 40]
			  ForegroundColor	  blue
			  DropShadow		  on
			  FontName		  "Arial"
			  ShowName		  off
			  OpenFcn		  "fdchelp dimless"
			  ShowPortLabels	  off
			  MaskDisplay		  "disp('DIMLESS\\nM.O. "
						  "Rauw, October 1997')"
			  MaskIconFrame		  on
			  MaskIconOpaque	  on
			  MaskIconRotate	  none
			  MaskIconUnits		  autoscale
			  System {
			    Name		    "0"
			    Location		    [99, 72, 274, 227]
			    Open		    off
			    ScreenColor		    white
			  }
			}
			Block {
			  BlockType		  Mux
			  Name			  "Mux"
			  Ports			  [3, 1, 0, 0, 0]
			  Position		  [250, 50, 255, 170]
			  BackgroundColor	  black
			  FontName		  "Arial"
			  ShowName		  off
			  Inputs		  "3"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "pb/2V"
			  Position		  [90, 62, 210, 78]
			  FontName		  "Arial"
			  Expr			  "0.5 * u[4] * b / u[1]"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "qc/V"
			  Position		  [90, 101, 210, 119]
			  FontName		  "Arial"
			  Expr			  "u[5] * cbar / u[1]"
			}
			Block {
			  BlockType		  Fcn
			  Name			  "rb/2V"
			  Position		  [90, 141, 210, 159]
			  FontName		  "Arial"
			  Expr			  "0.5 * u[6] * b / u[1]"
			}
			Block {
			  BlockType		  Outport
			  Name			  "ydl"
			  Position		  [290, 100, 310, 120]
			  DropShadow		  on
			  FontName		  "Arial"

⌨️ 快捷键说明

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