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

📄 bfsk_awgn.mdl

📁 关于2FSK在高斯和瑞利信道的传输
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      SimulationMode	      "normal"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      FrameConversion
      OutFrame		      "Frame based"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      PortCounts	      "[]"
      SFunctionModules	      "''"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "BFSK_AWGN"
    Location		    [214, 74, 1022, 724]
    Open		    on
    ModelBrowserVisibility  on
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [435, 239, 515, 281]
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "67"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "SNR"
      EsNodB		      "10"
      SNRdB		      "SNR"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sink"
      Ports		      [2]
      Position		      [615, 123, 720, 307]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Sink"
	Location		[214, 74, 1022, 724]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Data"
	  Position		  [140, 48, 170, 62]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Singal"
	  Position		  [25, 98, 55, 112]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Error Rate\nCalculation"
	  Ports			  [2, 1]
	  Position		  [370, 28, 465, 132]
	  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		  Reference
	  Name			  "M-FSK\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [150, 81, 225, 129]
	  FontSize		  10
	  SourceBlock		  "commdigbbndfm2/M-FSK\nDemodulator\nBaseband"
	  SourceType		  "M-FSK Demodulator Baseband"
	  M			  "2"
	  OutType		  "Bit"
	  Dec			  "Binary"
	  freqSep		  "FrequencySeparation"
	  numSamp		  "SamplesPerSymbol"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [535, 61, 575, 99]
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [625, 63, 710, 97]
	  VariableName		  "BitErrorRate"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "Error Rate\nCalculation"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Singal"
	  SrcPort		  1
	  DstBlock		  "M-FSK\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M-FSK\nDemodulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Data"
	  SrcPort		  1
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Source"
      Ports		      [0, 2]
      Position		      [200, 125, 310, 305]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Source"
	Location		[214, 74, 1022, 724]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "M-FSK\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [340, 120, 415, 170]
	  SourceBlock		  "commdigbbndfm2/M-FSK\nModulator\nBaseband"
	  SourceType		  "M-FSK Modulator Baseband"
	  M			  "2"
	  InType		  "Bit"
	  Enc			  "Binary"
	  freqSep		  "FrequencySeparation"
	  phaseType		  "Continuous"
	  numSamp		  "SamplesPerSymbol"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator"
	  Ports			  [0, 1]
	  Position		  [160, 123, 240, 167]
	  FontName		  "Arial"
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  on
	  mul			  "2"
	  seed			  "37"
	  Ts			  "1/BitRate"
	  frameBased		  on
	  sampPerFrame		  "BitRate"
	  orient		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Data"
	  Position		  [520, 273, 550, 287]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal"
	  Position		  [515, 138, 545, 152]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "M-FSK\nModulator\nBaseband"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 135]
	    DstBlock		    "Data"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "M-FSK\nModulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Signal"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Source"
      SrcPort		      2
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "Sink"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Source"
      SrcPort		      1
      DstBlock		      "Sink"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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