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

📄 phasenoise_sim.mdl

📁 3G物理层调制和解调的演示仿真模型。 A simulation of physical layer of 3G communication system.
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      MaskIconUnits	      "normalized"
      System {
	Name			"Display\nFigure"
	Location		[154, 467, 416, 618]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "EmptySubsystem"
	  Ports			  []
	  Position		  [115, 50, 145, 80]
	  FontName		  "Helvetica"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "EmptySubsystem"
	    Location		    [146, 180, 902, 673]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.196850, 0.196850, 0.196850, 0.196850]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate Calculation"
      Ports		      [2, 1]
      Position		      [885, 90, 975, 145]
      ShowName		      off
      FontName		      "Helvetica"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Model Info"
      Ports		      []
      Position		      [1030, 344, 1081, 384]
      BackgroundColor	      "lightBlue"
      ShowName		      off
      CopyFcn		      "slcm CopyBlock;"
      DeleteFcn		      "slcm Cancel;"
      LoadFcn		      "slcm LoadBlock;"
      PostSaveFcn	      "slcm('UpdateAllCMBlocksInThisModel')"
      InitFcn		      "slcm('UpdateAllCMBlocksInThisModelInit')"
      NameChangeFcn	      "slcm Rename;"
      OpenFcn		      "commdemohelp;"
      FontName		      "Arial"
      FontSize		      12
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskType		      "CMBlock"
      MaskDescription	      "This block allows revision control information "
"to be displayed within the model."
      MaskPromptString	      "InitialSaveTempField|InitialBlockCM|BlockCM|Fra"
"me|SaveTempField|DisplayStringWithTags|MaskDisplayString|HorizontalTextAlignm"
"ent|LeftAlignmentValue|SourceBlockDiagram|TagMaxNumber|CMTag1|CMTag2|CMTag3|C"
"MTag4|CMTag5|CMTag6|CMTag7|CMTag8|CMTag9|CMTag10|CMTag11|CMTag12|CMTag13|CMTa"
"g14|CMTag15|CMTag16|CMTag17|CMTag18|CMTag19|CMTag20"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed"
"it,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||||||||||||||||||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "off,off,off,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
      MaskVariables	      "InitialSaveTempField=&1;InitialBlockCM=&2;Block"
"CM=&3;Frame=&4;SaveTempField=&5;DisplayStringWithTags=&6;MaskDisplayString=&7"
";HorizontalTextAlignment=&8;LeftAlignmentValue=&9;SourceBlockDiagram=&10;TagM"
"axNumber=@11;CMTag1=&12;CMTag2=&13;CMTag3=&14;CMTag4=&15;CMTag5=&16;CMTag6=&1"
"7;CMTag7=&18;CMTag8=&19;CMTag9=&20;CMTag10=&21;CMTag11=&22;CMTag12=&23;CMTag1"
"3=&24;CMTag14=&25;CMTag15=&26;CMTag16=&27;CMTag17=&28;CMTag18=&29;CMTag19=&30"
";CMTag20=&31;"
      MaskDisplay	      "text(str2num(LeftAlignmentValue), 0.5, MaskDisp"
"layString, 'HorizontalAlignment', HorizontalTextAlignment)\n"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      MaskValueString	      "|none|none|on||Info|Info|Center|0.5|phasenoise_"
"sim|20||||||||||||||||||||"
      MaskTabNameString	      ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
      System {
	Name			"Model Info"
	Location		[154, 467, 416, 618]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "EmptySubsystem"
	  Ports			  []
	  Position		  [115, 50, 145, 80]
	  FontName		  "Helvetica"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "EmptySubsystem"
	    Location		    [146, 180, 902, 673]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.196850, 0.196850, 0.196850, 0.196850]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Phase\nNoise"
      Ports		      [1, 1]
      Position		      [510, 109, 585, 151]
      ShowName		      off
      SourceBlock	      "commrflib2/Phase\nNoise"
      SourceType	      "Phase Noise"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      PhNs		      "-66"
      Fo		      "200"
      seed		      "2137"
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [780, 105, 855, 155]
      SourceBlock	      "commdigbbndpm3/QPSK\nDemodulator\nBaseband"
      SourceType	      "QPSK Demodulator Baseband"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      OutType		      "Integer"
      Dec		      "Gray"
      Ph		      "pi/4"
      outDtype1		      "uint8"
      outDtype2		      "uint8"
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [135, 106, 210, 154]
      SourceBlock	      "commdigbbndpm3/QPSK\nModulator\nBaseband"
      SourceType	      "QPSK Modulator Baseband"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      InType		      "Integer"
      Enc		      "Gray"
      Ph		      "pi/4"
      outDtype		      "double"
      outWordLen	      "16"
      outUDDataType	      "sfix(16)"
      outFracLenMode	      "Best precision"
      outFracLen	      "15"
    }
    Block {
      BlockType		      Reference
      Name		      "Random-Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [15, 108, 95, 152]
      ShowName		      off
      FontName		      "Helvetica"
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      mul		      "4"
      seed		      "12345"
      Ts		      ".001"
      frameBased	      off
      sampPerFrame	      "500"
      orient		      off
      outDataType	      "uint8"
    }
    Line {
      SrcBlock		      "QPSK\nModulator\nBaseband"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Random-Integer\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	DstBlock		"QPSK\nModulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, -45; 760, 0]
	DstBlock		"Error Rate Calculation"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "QPSK\nDemodulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Error Rate Calculation"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Error Rate Calculation"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "Phase\nNoise"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Phase\nNoise"
      SrcPort		      1
      Points		      [130, 0]
      Branch {
	Points			[0, 120]
	DstBlock		"AWGN plus Phase Noise"
	DstPort			1
      }
      Branch {
	DstBlock		"QPSK\nDemodulator\nBaseband"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Noise Effects in QPSK"
      Position		      [124, 39]
      UseDisplayTextAsClickCallback off
      FontName		      "Arial"
      FontSize		      20
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Double-click on this block to see a BER plot \n"
"showing the performance of QPSK \nwith various levels of phase noise."
      Position		      [898, 365]
      UseDisplayTextAsClickCallback off
      FontName		      "Helvetica"
    }
    Annotation {
      Name		      "SER"
      Position		      [1110, 93]
      UseDisplayTextAsClickCallback off
      FontName		      "Arial"
    }
    Annotation {
      Name		      "Total Errors"
      Position		      [1126, 115]
      UseDisplayTextAsClickCallback off
      FontName		      "Arial"
    }
    Annotation {
      Name		      "Total Symbols"
      Position		      [1135, 133]
      UseDisplayTextAsClickCallback off
      FontName		      "Arial"
    }
  }
}

⌨️ 快捷键说明

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