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

📄 am_sys2.mdl

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      MaskVisibilityString    "on,on,on,on"
      MaskInitialization      "npts=@1; fftpts=@2; HowOften=@3; ts=@4(1); if l"
"ength(@4) > 1, offset = @4(2), else, offset = 0; end"
      MaskDisplay	      "plot(0,0,100,100,[11,93,93,11,11],[90,90,40,40,"
"90],[90,80,72,64,55,45,41,36,20],[50,50,52,59,67,75,78,80,80])"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "512|512|64|0.001"
      System {
	Name			"谱分析"
	Location		[2, 84, 373, 269]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "system input"
	  Position		  [55, 30, 75, 50]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "system output"
	  Position		  [55, 110, 75, 130]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [145, 71, 175, 104]
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-function block\nwhich calls M-file"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [250, 72, 295, 108]
	  FunctionName		  "ssfuntf"
	  Parameters		  "fftpts,npts,HowOften,offset,ts,0"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	}
	Line {
	  SrcBlock		  "system output"
	  SrcPort		  1
	  Points		  [30, 0; 0, -25]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "system input"
	  SrcPort		  1
	  Points		  [30, 0; 0, 40]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "S-function block\nwhich calls M-file"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "提取出的载波"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [520, 200, 550, 230]
      ForegroundColor	      "yellow"
      FontName		      "宋体"
      FontSize		      12
      Floating		      off
      Location		      [76, 196, 407, 340]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "1.000000"
      YMin		      "-4"
      YMax		      "4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Matrix"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "提取出的载波与\n接收信号的乘积"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [520, 265, 550, 295]
      FontName		      "宋体"
      FontSize		      12
      Floating		      off
      Location		      [183, 253, 512, 423]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "1.000000"
      YMin		      "-4"
      YMax		      "4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Matrix"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "信号发生器\n频率(弧度/秒)"
      Position		      [35, 63, 80, 97]
      FontName		      "宋体"
      FontSize		      12
      WaveForm		      "sine"
      Amplitude		      "1.000000"
      Frequency		      "10.000000"
      Units		      "rad/sec"
    }
    Block {
      BlockType		      Sin
      Name		      "载波"
      Position		      [50, 130, 70, 150]
      FontName		      "宋体"
      FontSize		      12
      Amplitude		      "1"
      Frequency		      "100"
      Phase		      "0"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Gain
      Name		      "增益"
      Position		      [195, 202, 220, 228]
      ForegroundColor	      "yellow"
      FontName		      "宋体"
      FontSize		      12
      Gain		      "4"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Gain
      Name		      "增益1"
      Position		      [435, 202, 460, 228]
      ForegroundColor	      "yellow"
      FontName		      "宋体"
      FontSize		      12
      Gain		      "4"
      SaturateOnIntegerOverflow	on
    }
    Line {
      SrcBlock		      "载波"
      SrcPort		      1
      Points		      [35, 0; 0, -50]
      DstBlock		      "乘法器"
      DstPort		      2
    }
    Line {
      SrcBlock		      "平方运算"
      SrcPort		      1
      DstBlock		      "Butterworth\nBP 滤波器"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Butterworth\nBP 滤波器"
      SrcPort		      1
      DstBlock		      "增益"
      DstPort		      1
    }
    Line {
      SrcBlock		      "增益"
      SrcPort		      1
      DstBlock		      "二分频"
      DstPort		      1
    }
    Line {
      SrcBlock		      "二分频"
      SrcPort		      1
      DstBlock		      "Butterworth\nBP 滤波器1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Butterworth\nBP 滤波器1"
      SrcPort		      1
      DstBlock		      "增益1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "传输延迟"
      SrcPort		      1
      DstBlock		      "乘法器2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "增益1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"提取出的载波"
	DstPort			1
      }
      Branch {
	Points			[0, 50; -270, 0; 0, 75]
	DstBlock		"乘法器2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Butterworth\nLP 滤波器"
      SrcPort		      1
      DstBlock		      "解调后信号波形"
      DstPort		      1
    }
    Line {
      SrcBlock		      "乘法器2"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Butterworth\nLP 滤波器"
	DstPort			1
      }
      Branch {
	Points			[0, -65]
	DstBlock		"提取出的载波与\n接收信号的乘积"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "乘法器"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, 85; -265, 0; 0, 40]
	Branch {
	  Points		  [0, 10]
	  Branch {
	    Points		    [0, 130]
	    DstBlock		    "传输延迟"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "平方运算"
	    DstPort		    2
	  }
	}
	Branch {
	  DstBlock		  "平方运算"
	  DstPort		  1
	}
      }
      Branch {
	Points			[210, 0]
	Branch {
	  DstBlock		  "调制后信号波形"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 45]
	  DstBlock		  "谱分析"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "信号发生器\n频率(弧度/秒)"
      SrcPort		      1
      Points		      [95, 0]
      Branch {
	DstBlock		"乘法器"
	DstPort			1
      }
      Branch {
	Points			[0, -35; 275, 0; 0, 105]
	DstBlock		"谱分析"
	DstPort			2
      }
    }
    Annotation {
      Position		      [267, 12]
      VerticalAlignment	      "top"
      Text		      "同步调制/解调 AM 系统 ( 双边带 DSB )"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [302, 177]
      VerticalAlignment	      "top"
      Text		      "同步载波提取"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [32, 182]
      VerticalAlignment	      "top"
      Text		      "接收端"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [322, 92]
      VerticalAlignment	      "top"
      Text		      "已调 DSB 信号"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [297, 107]
      VerticalAlignment	      "top"
      Text		      "发送端"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [347, 67]
      VerticalAlignment	      "top"
      Text		      "Y(t) = X(t)*cos(Wc*t+p)"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [152, 62]
      VerticalAlignment	      "top"
      Text		      "X(t)"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [62, 42]
      VerticalAlignment	      "top"
      Text		      "调制信号"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [137, 302]
      VerticalAlignment	      "top"
      Text		      "弥补提取载波\n所需的时延"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [177, 112]
      VerticalAlignment	      "top"
      Text		      "cos ( Wc * t + p )\nWc 载波角频率\np 载波初始相"
"位"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [247, 157]
      VerticalAlignment	      "top"
      Text		      "传输信道"
    }
  }
}

⌨️ 快捷键说明

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