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

📄 delta.mdl

📁 matlabsimulinkbasicbook非常经典的MATLABSIMULINK入门书籍,主要围绕信号与系统来讲,里面带有很多SIMULINK
💻 MDL
字号:
Model {
  Name			  "Delta"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "100.0"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Matrix"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  IntegerOverflowMsg	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  BooleanDataType	  off
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  Created		  "Tue Dec 07 19:14:02 1999"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Tue Dec 07 20:36:46 1999"
  ModelVersionFormat	  "1.%<AutoIncrement:16>"
  ConfigurationManager	  "none"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "Delta"
    Location		    [39, 65, 1026, 440]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [680, 97, 745, 153]
      SourceBlock	      "dspddes2/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "4"
      Wlo		      "2"
      Whi		      "80"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      SubSystem
      Name		      "DPCM data\ntraining"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [155, 313, 215, 357]
      ForegroundColor	      "red"
      ShowName		      off
      OpenFcn		      "x=sin([0:.1:40]);[p_trans,codebook,partition]=d"
"pcmopt(x,1,8); sample_time =0.1;"
      ShowPortLabels	      on
      MaskDisplay	      "disp('Load\\nData')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"DPCM data\ntraining"
	Location		[366, 139, 627, 260]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Input"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [470, 39, 500, 71]
      Floating		      off
      Location		      [161, 484, 485, 723]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [420, 37, 425, 73]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [840, 12, 845, 48]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Output"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [900, 14, 930, 46]
      Floating		      off
      Location		      [614, 496, 938, 735]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-1"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Overlap-Add\nFFT Filter"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [320, 243, 375, 297]
      Orientation	      "left"
      SourceBlock	      "dsparch2/Overlap-Add\nFFT Filter"
      SourceType	      "Overlap-Add FFT Filter"
      Nfft		      "64"
      h			      "fir1(20,0.1)"
    }
    Block {
      BlockType		      Reference
      Name		      "Quantizer\ndecode"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [510, 100, 570, 140]
      SourceBlock	      "commsrccod/Quantizer\ndecode"
      SourceType	      "Scalar quantization decode"
      codebook		      "codebook"
    }
    Block {
      BlockType		      Reference
      Name		      "Sampled\nquantizer encode"
      Ports		      [1, 3, 0, 0, 0]
      Position		      [325, 113, 390, 157]
      SourceBlock	      "commsrccod/Sampled\nquantizer encode"
      SourceType	      "Scalar quantization encode"
      partition		      "partition"
      codebook		      "codebook"
      n			      "1"
      sample_time	      ".01"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\ngenerator"
      Position		      [175, 73, 220, 107]
      BackgroundColor	      "yellow"
      ShowName		      off
      WaveForm		      "sine"
      Amplitude		      "1.000000"
      Frequency		      "1.000000"
      Units		      "rad/sec"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [275, 125, 295, 145]
      IconShape		      "round"
      Inputs		      "+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [445, 190, 465, 210]
      IconShape		      "rectangular"
      Inputs		      "++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [610, 115, 630, 135]
      IconShape		      "rectangular"
      Inputs		      "++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator_1"
      Position		      [407, 170, 423, 185]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "Sampled\nquantizer encode"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sampled\nquantizer encode"
      SrcPort		      3
      Points		      [20, 0]
      DstBlock		      "Terminator_1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sampled\nquantizer encode"
      SrcPort		      2
      Points		      [35, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Signal\ngenerator"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, -45; 65, 0]
	Branch {
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -25]
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Input"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sampled\nquantizer encode"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Quantizer\ndecode"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	DstBlock		"Mux1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      Points		      [0, 70]
      DstBlock		      "Overlap-Add\nFFT Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Overlap-Add\nFFT Filter"
      SrcPort		      1
      Points		      [-65, 0; 0, -65]
      Branch {
	Points			[0, -45]
	DstBlock		"Sum1"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Quantizer\ndecode"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum3"
      SrcPort		      1
      DstBlock		      "Analog\nFilter Design"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      DstBlock		      "Output"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Analog\nFilter Design"
      SrcPort		      1
      Points		      [65, 0]
      Branch {
	Points			[15, 0; 0, 95; -240, 0; 0, -90]
	DstBlock		"Sum3"
	DstPort			2
      }
      Branch {
	Points			[0, -85]
	DstBlock		"Mux2"
	DstPort			2
      }
    }
  }
}

⌨️ 快捷键说明

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