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

📄 ofdm1.mdl

📁 该链路仿真了OFDM系统在克服瑞丽多径衰落的影响中性能
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  mode			  "Complex"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Specify word length"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as input"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [410, 43, 440, 57]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "IFFT1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Add CP"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Add CP"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "IFFT1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "OFDM Transmitter1"
      Ports		      [1, 1]
      Position		      [215, 453, 300, 497]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"OFDM Transmitter1"
	Location		[258, 305, 723, 403]
	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			  "In1"
	  Position		  [25, 43, 55, 57]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Add CP"
	  Ports			  [1, 1]
	  Position		  [280, 27, 385, 73]
	  MinAlgLoopOccurrences	  off
	  PropExecContextOutsideSubsystem off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  Opaque		  off
	  RequestExecContextInheritance	off
	  MaskHideContents	  off
	  System {
	    Name		    "Add CP"
	    Location		    [162, 101, 815, 586]
	    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		      "In1"
	      Position		      [25, 93, 55, 107]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Concatenate
	      Name		      "Matrix\nConcatenation"
	      Ports		      [2, 1]
	      Position		      [190, 68, 230, 112]
	      Mode		      "Multidimensional array"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Submatrix"
	      Ports		      [1, 1]
	      Position		      [90, 25, 140, 65]
	      SourceBlock	      "dspmtrx3/Submatrix"
	      SourceType	      "Submatrix"
	      RowSpan		      "Range of rows"
	      RowStartMode	      "Index"
	      RowStartIndex	      "809+1024"
	      RowEndMode	      "Index"
	      RowEndIndex	      "1024+1024"
	      ColSpan		      "All columns"
	      ColStartMode	      "First"
	      ColStartIndex	      "1"
	      ColEndMode	      "Last"
	      ColEndIndex	      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [315, 83, 345, 97]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Submatrix"
	      SrcPort		      1
	      Points		      [15, 0; 0, 35]
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"Submatrix"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Matrix\nConcatenation"
		DstPort			2
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [175, 35, 205, 65]
	  Gain			  "32"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT1"
	  Ports			  [1, 1]
	  Position		  [100, 34, 140, 66]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag6"
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  InheritFFTLength	  on
	  FFTLength		  "64"
	  mode			  "Complex"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Specify word length"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as input"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [410, 43, 440, 57]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "IFFT1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Add CP"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Add CP"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "IFFT1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [975, 231, 1040, 269]
      DialogController	      "commDDGCreate"
      DialogControllerArgs    "DataTag7"
      SourceBlock	      "commdigbbndam3/Rectangular QAM\nDemodulator\nBaseband"
      SourceType	      "Rectangular QAM Demodulator Baseband"
      M			      "16"
      PowType		      "Average Power"
      MinDist		      "2"
      AvgPow		      "1"
      PeakPow		      "1"
      Ph		      "0"
      Dec		      "Gray"
      Mapping		      "[0:15]"
      OutType		      "Bit"
      DecType		      "Hard decision"
      VarSource		      "Dialog"
      Variance		      "1"
      outDtype1		      "Inherit via internal rule"
      outDtype2		      "Inherit via internal rule"
      derotateFactorDTMode    "Same word length as input"
      derotateFactorWordLen   "16"
      denormFactorDTMode      "Same word length as input"
      denormFactorWordLen     "16"
      prodOutDTMode	      "Inherit via internal rule"
      prodOutWordLen	      "32"
      prodOutRoundingMode     "Floor"
      prodOutOverflowMode     "Wrap"
      sumDTMode		      "Inherit via internal rule"
      sumWordLen	      "32"
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [125, 224, 200, 276]
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nModulator\nBaseband"
      SourceType	      "Rectangular QAM Modulator Baseband"
      M			      "16"
      InType		      "Bit"
      Enc		      "Gray"
      PowType		      "Average Power"
      MinDist		      "2"
      AvgPow		      "1"
      PeakPow		      "1"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector"
      Ports		      [1, 1]
      Position		      [1210, 136, 1250, 174]
      InputPortWidth	      "3"
      IndexOptions	      "Index vector (dialog)"
      Indices		      "1"
      OutputSizes	      "1"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [1275, 139, 1375, 171]
      VariableName	      "Ber_STBC_OFDM"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Line {
      SrcBlock		      "Bit data stream"
      SrcPort		      1
      DstBlock		      "Rectangular QAM\nModulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Rectangular QAM\nModulator\nBaseband"
      SrcPort		      1
      DstBlock		      "OFDM Transmitter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "OFDM Receiver"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Rectangular QAM\nDemodulator\nBaseband"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Error Rate\nCalculation"
	DstPort			2
      }
      Branch {
	Points			[0, 170]
	DstBlock		"Find Delay"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Bit data stream1"
      SrcPort		      1
      Points		      [55, 0; 0, 50]
      Branch {
	DstBlock		"Error Rate\nCalculation"
	DstPort			1
      }
      Branch {
	Points			[0, 175]
	DstBlock		"Find Delay"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel1"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM Transmitter"
      SrcPort		      1
      DstBlock		      "Multipath Rayleigh\nFading Channel1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bit data stream2"
      SrcPort		      1
      DstBlock		      "OFDM Transmitter1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM Transmitter1"
      SrcPort		      1
      DstBlock		      "Multipath Rayleigh\nFading Channel2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel2"
      SrcPort		      1
      DstBlock		      "OFDM Receiver1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM Receiver"
      SrcPort		      1
      DstBlock		      "Divide"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Divide"
      SrcPort		      1
      Points		      [60, 0; 0, -40]
      DstBlock		      "Rectangular QAM\nDemodulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Selector"
      SrcPort		      1
      DstBlock		      "To Workspace"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      Points		      [10, 0; 0, -5]
      Branch {
	DstBlock		"Selector"
	DstPort			1
      }
      Branch {
	Points			[0, 5]
	DstBlock		"Display"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Find Delay"
      SrcPort		      1
      DstBlock		      "Display7"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM Receiver1"
      SrcPort		      1
      Points		      [50, 0; 0, -150]
      DstBlock		      "Divide"
      DstPort		      2
    }
    Annotation {
      Position		      [218, 376]
    }
  }
}
MatData {
  NumRecords		  8
  DataRecord {
    Tag			    DataTag7
    Data		    "  %)30     .    <     8    (     0         %    \"     $    !     0         .    0     8    (    !          %    \"     $    /     0         0    #P   %)104U$96UO9'5L871O<@ "
  }
  DataRecord {
    Tag			    DataTag6
    Data		    "  %)30     .    8     8    (     0         %    \"     $    !     0         .    ,     8    (    !          %    \"     $    $     0         0  0 249&5 "
  }
  DataRecord {
    Tag			    DataTag5
    Data		    "  %)30     .    8     8    (     0         %    \"     $    !     0         .    ,     8    (    !          %    \"     $    $     0         0  0 249&5 "
  }
  DataRecord {
    Tag			    DataTag4
    Data		    "  %)30     .    8     8    (     0         %    \"     $    !     0         .    ,     8    (    !          %    \"     $    #     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    8     8    (     0         %    \"     $    !     0         .    ,     8    (    !          %    \"     $    #     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    >     8    (     0         %    \"     $    !     0         .    2     8    (    !          %    \"     $    2     0         0    $@   $)E<FYO=6QL:4)I;F%R>4=E;@        "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    >     8    (     0         %    \"     $    !     0         .    2     8    (    !          %    \"     $    2     0         0    $@   $)E<FYO=6QL:4)I;F%R>4=E;@        "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    >     8    (     0         %    \"     $    !     0         .    2     8    (    !          %    \"     $    2     0         0    $@   $)E<FYO=6QL:4)I;F%R>4=E;@        "
  }
}

⌨️ 快捷键说明

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