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

📄 coherent.mdl

📁 数字信号处理(机械工业出版社)的源码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Name		      "A"
      Position		      [250, 110, 280, 140]
    }
    Block {
      BlockType		      Reference
      Name		      "Buffered FFT\nFrame Scope"
      Ports		      [1]
      Position		      [600, 15, 635, 65]
      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]"
      XIncr		      "1/20000"
      YLabel		      "Magnitude, dB"
      YUnits		      "Magnitude"
      HorizSpan		      "1"
      NChans		      "1"
      AxisParams	      on
      YMin		      "0.00110047662431745"
      YMax		      "6104.32361383274"
      FigPos		      "get(0,'defaultfigureposition')"
      AxisGrid		      on
      AxisZoom		      on
      FrameNumber	      off
      AxisLegend	      on
      Memory		      off
      LineParams	      off
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [125, 190, 155, 220]
    }
    Block {
      BlockType		      Sin
      Name		      "Cos"
      Position		      [415, 225, 445, 255]
      SineType		      "Time based"
      Frequency		      "5000*2*3.14"
      Phase		      "pi*2"
      SampleTime	      "1/20000"
    }
    Block {
      BlockType		      Reference
      Name		      "Digital FIR\nFilter Design"
      Ports		      [1, 1]
      Position		      [575, 117, 645, 173]
      SourceBlock	      "dspddes2/Digital FIR\nFilter Design"
      SourceType	      "Digital FIR Filter Design"
      filttype		      "Lowpass"
      N			      "9"
      Wlo		      "0.4"
      Whi		      "0.6"
      W0		      "[.2 .5 .8]"
      g0		      "1"
      W1		      "[0 .2 .3 .6 .8 1]"
      gains		      "[1 .5 0 0 1 .5]"
      wintype		      "Hamming"
      Rs		      "10"
      Kbeta		      "5"
      frame		      off
      numChans		      "1"
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [320, 117, 350, 153]
      ShowName		      off
      Port {
	PortNumber		1
	Name			"Modulated\nInput"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [480, 125, 510, 165]
      ShowName		      off
      Port {
	PortNumber		1
	Name			"Modulated\nInput"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [225, 14, 255, 46]
      DropShadow	      on
      Location		      [102, 719, 426, 958]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.02"
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
      SampleInput	      on
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [500, 29, 530, 61]
      NamePlacement	      "alternate"
      Location		      [542, 706, 866, 945]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.02"
      YMin		      "-2"
      YMax		      "2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [685, 129, 715, 161]
      Location		      [939, 703, 1263, 942]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.02"
      YMin		      "5.55112e-017"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [25, 110, 55, 140]
      DropShadow	      on
      SineType		      "Time based"
      Frequency		      "200*(2*pi)"
      SampleTime	      "1/20000"
    }
    Block {
      BlockType		      Sum
      Name		      "Up"
      Ports		      [2, 1]
      Position		      [160, 110, 190, 140]
      NamePlacement	      "alternate"
      IconShape		      "round"
      Inputs		      "|++"
      Port {
	PortNumber		1
	Name			"Upper\nSideband"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sin
      Name		      "cos"
      Position		      [255, 195, 285, 225]
      SineType		      "Time based"
      Frequency		      "5000*2*3.14"
      SampleTime	      "1/20000"
    }
    Block {
      BlockType		      Gain
      Name		      "m"
      Position		      [85, 110, 115, 140]
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      DstBlock		      "m"
      DstPort		      1
    }
    Line {
      Name		      "Upper\nSideband"
      Labels		      [0, 0]
      SrcBlock		      "Up"
      SrcPort		      1
      DstBlock		      "A"
      DstPort		      1
    }
    Line {
      SrcBlock		      "A"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      1
    }
    Line {
      Name		      "Modulated\nInput"
      Labels		      [0, 0]
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [15, 0; 60, 0]
      Branch {
	DstBlock		"Product2"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	Branch {
	  Points		  [135, 0; 0, -40]
	  DstBlock		  "Buffered FFT\nFrame Scope"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -35]
	  DstBlock		  "Scope1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Digital FIR\nFilter Design"
      SrcPort		      1
      DstBlock		      "Scope2"
      DstPort		      1
    }
    Line {
      Name		      "Modulated\nInput"
      Labels		      [0, 0]
      SrcBlock		      "Product2"
      SrcPort		      1
      DstBlock		      "Digital FIR\nFilter Design"
      DstPort		      1
    }
    Line {
      SrcBlock		      "cos"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Product1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Cos"
      SrcPort		      1
      Points		      [10, 0; 0, -85]
      DstBlock		      "Product2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "m"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Up"
	DstPort			1
      }
      Branch {
	Points			[0, -95]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Up"
      DstPort		      2
    }
  }
}

⌨️ 快捷键说明

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