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

📄 detwithnoise.mdl

📁 simulink_labs
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Floating		      off
      Location		      [70, 347, 394, 586]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "0.02"
      YMin		      "-1"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      on
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [585, 444, 615, 476]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [615, 134, 939, 373]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "0.02"
      YMin		      "-0.07"
      YMax		      "0.005"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [430, 69, 460, 101]
      Floating		      off
      Location		      [27, 404, 351, 643]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "0.02"
      YMin		      "0"
      YMax		      "1.5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [20, 125, 50, 155]
      DropShadow	      on
      Amplitude		      "1"
      Frequency		      "200*(2*pi)"
      Phase		      "0"
      SampleTime	      "1/20000"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave2"
      Position		      [310, 200, 340, 230]
      Amplitude		      "1"
      Frequency		      "5000*2*3.14"
      Phase		      "0"
      SampleTime	      "1/20000"
    }
    Block {
      BlockType		      Sum
      Name		      "Up"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [195, 155, 215, 175]
      IconShape		      "round"
      Inputs		      "++"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"Upper\nSideband"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Up1"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [410, 345, 430, 365]
      IconShape		      "round"
      Inputs		      "++"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"Upper\nSideband"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "a"
      Position		      [125, 125, 155, 155]
      Gain		      "1"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Reference
      Name		      "output of the Band\n pass fitler "
      Ports		      [1, 0, 0, 0, 0]
      Position		      [605, 220, 640, 270]
      SourceBlock	      "dspsnks2/Buffered FFT\nFrame Scope"
      SourceType	      "Buffered FFT Frame Scope"
      FFTlength		      "128"
      BufferSize	      "128"
      Overlap		      "64"
      Domain		      "Frequency"
      XLabel		      "Samples"
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      XIncr		      "1/20000"
      YLabel		      "Magnitude, dB"
      YUnits		      "Magnitude"
      HorizSpan		      "1"
      NChans		      "1"
      AxisParams	      on
      YMin		      "0"
      YMax		      "1000"
      FigPos		      "get(0,'defaultfigureposition')"
      AxisGrid		      on
      AxisZoom		      on
      FrameNumber	      off
      AxisLegend	      on
      Memory		      off
      LineParams	      off
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      DstBlock		      "a"
      DstPort		      1
    }
    Line {
      Name		      "Upper\nSideband"
      Labels		      [0, 0]
      SrcBlock		      "Up"
      SrcPort		      1
      DstBlock		      "Km"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Km"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Cons tant"
      SrcPort		      1
      Points		      [40, 0]
      DstBlock		      "Up"
      DstPort		      2
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "a"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"Up"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Band-Limited\nWhite Noise"
      SrcPort		      1
      Points		      [140, 0]
      DstBlock		      "Up1"
      DstPort		      2
    }
    Line {
      Name		      "Upper\nSideband"
      Labels		      [0, 0]
      SrcBlock		      "Up1"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Band pass filter\ncentered at 5kHz"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave2"
      SrcPort		      1
      Points		      [0, -5]
      Branch {
	DstBlock		"Product1"
	DstPort			2
      }
      Branch {
	Points			[210, 0; 0, 35]
	DstBlock		"Product2"
	DstPort			1
      }
    }
    Line {
      Name		      "Multiplier"
      Labels		      [0, 0]
      SrcBlock		      "Product2"
      SrcPort		      1
      Points		      [10, 0; 0, 80; -180, 0; 0, 35]
      DstBlock		      "Digital FIR\nFilter Design"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Digital FIR\nFilter Design"
      SrcPort		      1
      Points		      [0, 5]
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      Name		      "Modulated\nInput"
      Labels		      [0, 0]
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	Points			[5, 0]
	DstBlock		"Up1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Band pass filter\ncentered at 5kHz"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[20, 0]
	DstBlock		"Product2"
	DstPort			2
      }
      Branch {
	Points			[0, -105]
	DstBlock		"output of the Band\n pass fitler "
	DstPort			1
      }
    }
  }
}

⌨️ 快捷键说明

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