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

📄 fdma_demo.mdl

📁 数字信号处理(机械工业出版社)的源码
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Butterworth\nIIR BP Filter2"
      Ports		      [1, 1]
      Position		      [205, 112, 260, 148]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "butter(BP)"
      MaskDescription	      "Butterworth band pass filter.       \n(Requires"
" Signal Processing Toolbox)"
      MaskHelp		      "IIR Butterworth band pass filter using MATLAB's"
" butter command."
      MaskPromptString	      "Center frequency (0 to 1):|Bandwidth (0 to 1):|"
"Order:|Sample time:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskInitialization      "Fc=@1;bw=@2;od=@3;ts=@4;bw = bw/2; [a,b,c,d]=bu"
"tter(od,[Fc-bw,Fc+bw] ); [num,den]=ss2tf(a,b,c,d,1); if (od <= 8), [a,b,c,d]="
"tf2ss(num,den); end; h=freqz(num,den,64);\n\n"
      MaskDisplay	      "plot(1:64,abs(h))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "F2*ts*2|0.05|7|ts"
      System {
	Name			"Butterworth\nIIR BP Filter2"
	Location		[360, 145, 860, 405]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 80, 40, 100]
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Butterworth\nIIR BP Filter2"
	  Position		  [90, 58, 160, 92]
	  ShowName		  off
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Butterworth\nIIR BP Filter3"
      Ports		      [1, 1]
      Position		      [205, 184, 260, 216]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "butter(BP)"
      MaskDescription	      "Butterworth band pass filter.       \n(Requires"
" Signal Processing Toolbox)"
      MaskHelp		      "IIR Butterworth band pass filter using MATLAB's"
" butter command."
      MaskPromptString	      "Center frequency (0 to 1):|Bandwidth (0 to 1):|"
"Order:|Sample time:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskInitialization      "Fc=@1;bw=@2;od=@3;ts=@4;bw = bw/2; [a,b,c,d]=bu"
"tter(od,[Fc-bw,Fc+bw] ); [num,den]=ss2tf(a,b,c,d,1); if (od <= 8), [a,b,c,d]="
"tf2ss(num,den); end; h=freqz(num,den,64);\n"
      MaskDisplay	      "plot(1:64,abs(h))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "F4*ts*2|0.05|7|ts"
      System {
	Name			"Butterworth\nIIR BP Filter3"
	Location		[360, 145, 860, 405]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 80, 40, 100]
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Butterworth\nIIR BP Filter3"
	  Position		  [90, 58, 160, 92]
	  ShowName		  off
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter3"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Butterworth\nIIR BP Filter4"
      Ports		      [1, 1]
      Position		      [480, 43, 530, 77]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "butter(BP)"
      MaskDescription	      "Butterworth band pass filter.       \n(Requires"
" Signal Processing Toolbox)"
      MaskHelp		      "IIR Butterworth band pass filter using MATLAB's"
" butter command."
      MaskPromptString	      "Center frequency (0 to 1):|Bandwidth (0 to 1):|"
"Order:|Sample time:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskInitialization      "Fc=@1;bw=@2;od=@3;ts=@4;bw = bw/2; [a,b,c,d]=bu"
"tter(od,[Fc-bw,Fc+bw] ); [num,den]=ss2tf(a,b,c,d,1); if (od <= 8), [a,b,c,d]="
"tf2ss(num,den); end; h=freqz(num,den,64);\n"
      MaskDisplay	      "plot(1:64,abs(h))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "F0*ts*2|0.05|7|ts"
      System {
	Name			"Butterworth\nIIR BP Filter4"
	Location		[360, 145, 860, 405]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 80, 40, 100]
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Butterworth\nIIR BP Filter4"
	  Position		  [90, 58, 160, 92]
	  ShowName		  off
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter4"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter4"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Butterworth\nIIR BP Filter5"
      Ports		      [1, 1]
      Position		      [480, 113, 530, 147]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "butter(BP)"
      MaskDescription	      "Butterworth band pass filter.       \n(Requires"
" Signal Processing Toolbox)"
      MaskHelp		      "IIR Butterworth band pass filter using MATLAB's"
" butter command."
      MaskPromptString	      "Center frequency (0 to 1):|Bandwidth (0 to 1):|"
"Order:|Sample time:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskInitialization      "Fc=@1;bw=@2;od=@3;ts=@4;bw = bw/2; [a,b,c,d]=bu"
"tter(od,[Fc-bw,Fc+bw] ); [num,den]=ss2tf(a,b,c,d,1); if (od <= 8), [a,b,c,d]="
"tf2ss(num,den); end; h=freqz(num,den,64);\n"
      MaskDisplay	      "plot(1:64,abs(h))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "F2*ts*2|0.05|7|ts"
      System {
	Name			"Butterworth\nIIR BP Filter5"
	Location		[360, 145, 860, 405]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 80, 40, 100]
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Butterworth\nIIR BP Filter5"
	  Position		  [90, 58, 160, 92]
	  ShowName		  off
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter5"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter5"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Butterworth\nIIR BP Filter6"
      Ports		      [1, 1]
      Position		      [480, 182, 530, 218]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "butter(BP)"
      MaskDescription	      "Butterworth band pass filter.       \n(Requires"
" Signal Processing Toolbox)"
      MaskHelp		      "IIR Butterworth band pass filter using MATLAB's"
" butter command."
      MaskPromptString	      "Center frequency (0 to 1):|Bandwidth (0 to 1):|"
"Order:|Sample time:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskInitialization      "Fc=@1;bw=@2;od=@3;ts=@4;bw = bw/2; [a,b,c,d]=bu"
"tter(od,[Fc-bw,Fc+bw] ); [num,den]=ss2tf(a,b,c,d,1); if (od <= 8), [a,b,c,d]="
"tf2ss(num,den); end; h=freqz(num,den,64);\n"
      MaskDisplay	      "plot(1:64,abs(h))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "F4*ts*2|0.05|7|ts"
      System {
	Name			"Butterworth\nIIR BP Filter6"
	Location		[360, 145, 860, 405]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 80, 40, 100]
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Butterworth\nIIR BP Filter6"
	  Position		  [90, 58, 160, 92]
	  ShowName		  off
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  SampleTime		  "ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 80, 210, 100]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Butterworth\nIIR BP Filter6"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Butterworth\nIIR BP Filter6"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "DSB-SC AM\npassband"
      Ports		      [1, 1]
      Position		      [120, 42, 185, 88]
      ShowName		      off
      SourceBlock	      "com_cdmo/DSB-SC AM\npassband"
      SourceType	      "Passband DSB-SC AM"
      MaskParam1	      "F0"
      MaskParam2	      "0"
      MaskParam3	      "ts"
    }
    Block {
      BlockType		      Reference
      Name		      "DSB-SC AM\npassband1"
      Ports		      [1, 1]
      Position		      [120, 110, 185, 150]
      ShowName		      off
      SourceBlock	      "com_cdmo/DSB-SC AM\npassband"
      SourceType	      "Passband DSB-SC AM"
      MaskParam1	      "F2"
      MaskParam2	      "0"
      MaskParam3	      "ts"

⌨️ 快捷键说明

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