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

📄 tr_mods_ss.mdl

📁 仿真FSK,ASK,PSK的simulink原代码
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Shift-180"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "No_shift"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [0, -130]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Combinatorial \nLogic"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Combinatorial \nLogic"
	  SrcPort		  1
	  Points		  [5, 0; 0, -35]
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "S2"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -45]
	  DstBlock		  "S2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  Points		  [25, 0; 0, 40]
	  DstBlock		  "S2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Select A "
      Ports		      [2, 1]
      Position		      [82, 415, 118, 445]
      Orientation	      "up"
      NamePlacement	      "alternate"
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      sw		      "0"
      action		      "0"
      varsize		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Select B"
      Ports		      [2, 1]
      Position		      [207, 410, 243, 440]
      Orientation	      "up"
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      sw		      "1"
      action		      "0"
      varsize		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Specreum of Tx signal "
      Ports		      [1]
      Position		      [875, 461, 1010, 519]
      BackgroundColor	      "gray"
      DropShadow	      on
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Specreum of Tx signal "
	Location		[2, 78, 1278, 749]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Signal_input"
	  Position		  [55, 48, 85, 62]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nButterworth\nBPF Filter"
	  Ports			  [1, 1]
	  Position		  [140, 30, 185, 80]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Butterworth"
	  filttype		  "Bandpass"
	  N			  "5"
	  Wlo			  "2*pi*300000"
	  Whi			  "2*pi*500000"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [370, 30, 420, 80]
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "128"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [230, 38, 305, 72]
	  OutDataTypeMode	  "single"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "5^-7"
	  OutDataTypeStr	  "single"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	  SampleTime		  "2*pi/1698000"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope1"
	  Ports			  [1]
	  Position		  [470, 30, 505, 80]
	  DialogController	  "dspdialog.SpectrumScope"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ShowPortLabels	  "none"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ScopeProperties	  on
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "128"
	  Overlap		  "61"
	  inpFftLenInherit	  off
	  FFTlength		  "128"
	  numAvg		  "2"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  off
	  AxisLegend		  on
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "get(0,'defaultfigureposition')"
	  AxisProperties	  off
	  XUnits		  "Hertz"
	  XRange		  "[0...Fs]"
	  XDisplay		  "0"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  XLimit		  "Auto"
	  YUnits		  "dB"
	  XMax			  "1"
	  XMin			  "0"
	  YMin			  "-27.1515684478173"
	  YMax			  "14.4964177571766"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	  LineMarkers		  "None"
	  LineColors		  "[0 0 1]"
	  wintypeSpecScope	  "Hann"
	  RsSpecScope		  "50"
	  betaSpecScope		  "5"
	  winsampSpecScope	  "Periodic"
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Signal_input"
	  SrcPort		  1
	  DstBlock		  "Analog\nButterworth\nBPF Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nButterworth\nBPF Filter"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Tx_signal"
      Ports		      [3]
      Position		      [1135, 93, 1260, 207]
      ForegroundColor	      "magenta"
      DropShadow	      on
      Floating		      off
      Location		      [414, 52, 1228, 778]
      Open		      off
      NumInputPorts	      "3"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "0.0005"
      YMin		      "-5~-5~-5"
      YMax		      "5~5~5"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "aSubsystem1"
      Ports		      []
      Position		      [686, 137, 973, 297]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"aSubsystem1"
	Location		[463, 581, 676, 663]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aSubsystem2"
      Ports		      []
      Position		      [7, 390, 308, 531]
      BackgroundColor	      "[0.843137, 0.843137, 0.000000]"
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"aSubsystem2"
	Location		[463, 581, 676, 663]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aSubsystem3"
      Ports		      []
      Position		      [318, 103, 1038, 541]
      BackgroundColor	      "[0.823529, 1.000000, 0.650980]"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"aSubsystem3"
	Location		[2, 78, 1278, 749]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Filter"
	DstPort			1
      }
      Branch {
	Points			[0, -65]
	DstBlock		"Tx_signal"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Carrier_Signal"
      SrcPort		      2
      Points		      [10, 0; 0, -65; 190, 0; 0, -30]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Multiplixer"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multiplixer1"
      SrcPort		      1
      Points		      [0, -60; -150, 0; 0, -55]
      DstBlock		      "Multiplixer"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Carrier_Signal"
      SrcPort		      3
      Points		      [35, 0; 0, -190]
      DstBlock		      "Multiplixer"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Carrier_Signal"
      SrcPort		      1
      DstBlock		      "Multiplixer1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Data Source "
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	Points			[0, -185]
	DstBlock		"Mux"
	DstPort			3
      }
      Branch {
	Points			[445, 0; 0, -325]
	DstBlock		"Tx_signal"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Filter"
      SrcPort		      1
      DstBlock		      "Tx_signal"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Filter"
      SrcPort		      2
      Points		      [30, 0; 0, 115; -140, 0]
      DstBlock		      "Specreum of Tx signal "
      DstPort		      1
    }
    Line {
      SrcBlock		      "Control  B1"
      SrcPort		      1
      Points		      [0, -15; 20, 0]
      DstBlock		      "Select B"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Control  B"
      SrcPort		      1
      Points		      [0, -15; -20, 0]
      DstBlock		      "Select B"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Control  B3"
      SrcPort		      1
      Points		      [0, -10; 20, 0]
      DstBlock		      "Select A "
      DstPort		      1
    }
    Line {
      SrcBlock		      "Control  B2"
      SrcPort		      1
      Points		      [0, -10; -20, 0]
      DstBlock		      "Select A "
      DstPort		      2
    }
    Line {
      SrcBlock		      "Select B"
      SrcPort		      1
      Points		      [235, 0; 0, -95]
      DstBlock		      "Multiplixer1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Select A "
      SrcPort		      1
      Points		      [0, -15; 370, 0; 0, -190]
      DstBlock		      "Multiplixer"
      DstPort		      3
    }
    Annotation {
      Name		      "     0                0         ASK  \n        0                1         BPSK    \n          1                0         FSK       "
      Position		      [158, 369]
      ForegroundColor	      "white"
      BackgroundColor	      "orange"
    }
    Annotation {
      Name		      "                           Triplett  Modulator (ASK-FSK-BPSK)                      "
      Position		      [675, 77]
      BackgroundColor	      "[0.701961, 0.701961, 1.000000]"
      DropShadow	      on
      FontName		      "Trebuchet MS"
      FontSize		      22
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Data-25Kps  Carrier-135KHz "
      Position		      [424, 560]
      ForegroundColor	      "white"
      BackgroundColor	      "red"
    }
    Annotation {
      Name		      "     Selection  Modulator       "
      Position		      [155, 320]
      ForegroundColor	      "green"
      DropShadow	      on
      FontName		      "Arial Rounded MT Bold"
      FontSize		      18
      FontWeight	      "bold"
      FontAngle		      "italic"
    }
    Annotation {
      Name		      "Gihad Elamary\ngihad.elamary1@ncl.ac.uk\nDate:- 15/07/2008"
      Position		      [142, 177]
      ForegroundColor	      "white"
      BackgroundColor	      "[0.580392, 0.682353, 0.807843]"
      DropShadow	      on
      FontSize		      14
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    ,     8    (    !          %    \"                0         0          "
  }
}

⌨️ 快捷键说明

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