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

📄 wimax.mdl

📁 WiMAX系统仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Randomizer"
      Ports		      [1, 1]
      Position		      [105, 28, 160, 72]
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Randomizer"
	Location		[495, 256, 993, 556]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [100, 43, 130, 57]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [145, 28, 180, 57]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  Operator		  "XOR"
	  OutDataTypeMode	  "Specify via dialog"
	  LogicDataType		  "float('double')"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PN Sequence\nGenerator"
	  Ports			  [0, 1]
	  Position		  [15, 13, 95, 57]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
	  SourceType		  "PN Sequence Generator"
	  poly			  "[1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1]"
	  ini_sta		  "[0 0 0 1 1 1 0 1 1 1 1 0 0 0 1]"
	  shift			  "15"
	  Ts			  "1/280"
	  frameBased		  "on"
	  sampPerFrame		  "280"
	  reset			  "off"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad"
	  Ports			  [1, 1]
	  Position		  [230, 27, 275, 63]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "288"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [325, 38, 355, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "PN Sequence\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Zero Pad"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero Pad"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Received\nData"
      Ports		      [1]
      Position		      [25, 173, 80, 217]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Received\nData"
	Location		[223, 318, 931, 693]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 28, 45, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit to Integer\nConverter"
	  Ports			  [1, 1]
	  Position		  [95, 13, 175, 57]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commutil2/Bit to Integer\nConverter"
	  SourceType		  "Bit to Integer Converter"
	  nbits			  "8"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [225, 20, 285, 50]
	  VariableName		  "simout"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Bit to Integer\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit to Integer\nConverter"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Receiver"
      Ports		      [0, 1]
      Position		      [665, 173, 720, 217]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Receiver"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  From
	  Name			  "From"
	  Position		  [15, 12, 100, 28]
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Transmitter"
	  IconDisplay		  "Signal name"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [150, 13, 180, 27]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transmitter"
      Ports		      [1]
      Position		      [665, 28, 720, 72]
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Transmitter"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 48, 45, 62]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel"
	  Ports			  [1, 1]
	  Position		  [95, 15, 135, 95]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  ShowPortLabels	  "on"
	  seed			  "1"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EbNodB		  "10"
	  EsNodB		  "40"
	  SNRdB			  "25"
	  bitsPerSym		  "1"
	  Ps			  "0.01"
	  Tsym			  "4e-6/80"
	  variance		  "1"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [185, 46, 265, 64]
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "Transmitter"
	  IconDisplay		  "Signal name"
	  TagVisibility		  "global"
	}
	Line {
	  SrcBlock		  "AWGN\nChannel"
	  SrcPort		  1
	  DstBlock		  "Goto"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Viterbi\nDecoder"
      Ports		      [1, 1]
      Position		      [265, 173, 320, 217]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Viterbi\nDecoder"
	Location		[2, 78, 1022, 748]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 38, 45, 52]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Insert Zero"
	  Ports			  [1, 1]
	  Position		  [225, 23, 305, 67]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commsequence2/Insert Zero"
	  SourceType		  "Insert Zero"
	  insertZeroVector	  "reshape([1 0 1 0 1;1 1 0 1 0], 10, 1)"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unipolar to\nBipolar\nConverter"
	  Ports			  [1, 1]
	  Position		  [95, 23, 175, 67]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commutil2/Unipolar to\nBipolar\nConverter"
	  SourceType		  "Unipolar to Bipolar Converter"
	  ShowPortLabels	  "on"
	  M			  "2"
	  polarity		  "Negative"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Viterbi Decoder"
	  Ports			  [1, 1]
	  Position		  [355, 15, 475, 75]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commcnvcod2/Viterbi Decoder"
	  SourceType		  "Viterbi Decoder"
	  trellis		  "poly2trellis(7, [171 133])"
	  dectype		  "Unquantized"
	  nsdecb		  "8"
	  tbdepth		  "8"
	  opmode		  "Continuous"
	  reset			  "off"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [525, 38, 555, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Insert Zero"
	  SrcPort		  1
	  DstBlock		  "Viterbi Decoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unipolar to\nBipolar\nConverter"
	  SrcPort		  1
	  DstBlock		  "Insert Zero"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Unipolar to\nBipolar\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Viterbi Decoder"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Data"
      SrcPort		      1
      DstBlock		      "Randomizer"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Randomizer"
      SrcPort		      1
      DstBlock		      "Block\nEncoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Block\nEncoder"
      SrcPort		      1
      DstBlock		      "Convolutional\nEncoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Convolutional\nEncoder"
      SrcPort		      1
      DstBlock		      "Interleaver"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Interleaver"
      SrcPort		      1
      DstBlock		      "Modulator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Normalize"
      SrcPort		      1
      DstBlock		      "OFDM\nSymbols"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Denormalize"
      SrcPort		      1
      DstBlock		      "Demodulator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demodulator"
      SrcPort		      1
      DstBlock		      "Deinterleaver"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Deinterleaver"
      SrcPort		      1
      DstBlock		      "Viterbi\nDecoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Viterbi\nDecoder"
      SrcPort		      1
      DstBlock		      "Block\nDecoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Block\nDecoder"
      SrcPort		      1
      DstBlock		      "De-Randomizer"
      DstPort		      1
    }
    Line {
      SrcBlock		      "De-Randomizer"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Received\nData"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM\nSymbols"
      SrcPort		      1
      DstBlock		      "Transmitter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Modulator"
      SrcPort		      1
      DstBlock		      "Normalize"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Receiver"
      SrcPort		      1
      DstBlock		      "OFDM\nData"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM\nData"
      SrcPort		      1
      DstBlock		      "Denormalize"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  2
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 249&5 "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
}

⌨️ 快捷键说明

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