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

📄 ofdm02.mdl

📁 OFDM仿真程序 是关于同步方面的 OFDM系统中的同步技术研究
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [400, 32, 450, 68]
	  SourceBlock		  "dspobslib/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  ShowPortLabels	  off
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multiport\nSelector1"
	  Ports			  [1, 1]
	  Position		  [105, 32, 155, 68]
	  SourceBlock		  "dspindex/Multiport\nSelector"
	  SourceType		  "Multiport Selector"
	  rowsOrCols		  "Columns"
	  idxCellArray		  "{ 2}"
	  idxErrMode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "QPSK\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [550, 33, 595, 67]
	  LinkData {
	    BlockName		    "M-PSK\nDemodulator\nBaseband"
	    DialogParameters {
	      OutType		      "Bit"
	      Dec		      "Binary"
	    }
	  }
	  SourceBlock		  "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
	  SourceType		  "QPSK Demodulator Baseband"
	  ShowPortLabels	  on
	  OutType		  "Bit"
	  Dec			  "Binary"
	  Ph			  "pi/4"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [190, 31, 240, 69]
	  InputType		  "Matrix"
	  Elements		  "[1 3]"
	  Rows			  "[9:40]"
	  Columns		  "-1"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [675, 43, 705, 57]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "QPSK\nDemodulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSelector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "QPSK\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multiport\nSelector1"
	  SrcPort		  1
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Annotation {
	  Position		  [508, 97]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [164, 63]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [150, 112]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [146, 126]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [407, 154]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [147, 54]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [171, 146]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem3"
      Ports		      [0, 1]
      Position		      [545, 215, 585, 275]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Subsystem3"
	Location		[2, 82, 1270, 977]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Complex\nExponential"
	  Ports			  [1, 1]
	  Position		  [160, 92, 210, 128]
	  SourceBlock		  "dspmathops/Complex\nExponential"
	  SourceType		  "Complex Exponential"
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [25, 40, 55, 70]
	  Value			  "[0:31]"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [20, 130, 50, 160]
	  Value			  "2*pi*3.5/32"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nConcatenation"
	  Ports			  [2, 1]
	  Position		  [475, 79, 530, 121]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "2"
	  catMethod		  "Vertical"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nConcatenation1"
	  Ports			  [2, 1]
	  Position		  [665, 69, 720, 111]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "2"
	  catMethod		  "Horizontal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multiport\nSelector1"
	  Ports			  [1, 1]
	  Position		  [260, 37, 310, 73]
	  SourceBlock		  "dspindex/Multiport\nSelector"
	  SourceType		  "Multiport Selector"
	  rowsOrCols		  "Rows"
	  idxCellArray		  "{ 25:32}"
	  idxErrMode		  "Clip Index"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [105, 92, 135, 123]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [890, 83, 920, 97]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, -20]
	    DstBlock		    "Matrix\nConcatenation1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Matrix\nConcatenation1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Multiport\nSelector1"
	  SrcPort		  1
	  Points		  [65, 0; 0, 35]
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex\nExponential"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Multiport\nSelector1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Complex\nExponential"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -30]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [15, 0; 0, 45]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Annotation {
	  Position		  [138, 25]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [1095, 157, 1200, 193]
      VariableName	      "receive"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [185, 497, 290, 533]
      VariableName	      "send"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Reference
      Name		      "Unbuffer1"
      Ports		      [1, 1]
      Position		      [315, 86, 365, 134]
      FontSize		      10
      SourceBlock	      "dspbuff3/Unbuffer"
      SourceType	      "Unbuffer"
      ic		      "0"
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[25, 0]
	Branch {
	  Points		  [0, -30]
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  1
	}
	Branch {
	  Points		  [60, 0]
	  DstBlock		  "Subsystem1"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 435]
	DstBlock		"To Workspace2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem2"
      SrcPort		      1
      Points		      [0, -25; 180, 0]
      Branch {
	Points			[-5, 0]
	DstBlock		"Error Rate\nCalculation"
	DstPort			2
      }
      Branch {
	Points			[-60, 0; 0, 85]
	DstBlock		"To Workspace1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      1
      DstBlock		      "Unbuffer1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unbuffer1"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [45, 0]
      DstBlock		      "Buffer1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Buffer1"
      SrcPort		      1
      Points		      [30, 0; 0, 60]
      DstBlock		      "Product1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [30, 0; 0, -70]
      DstBlock		      "Subsystem2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem3"
      SrcPort		      1
      Points		      [25, 0; 0, -55]
      DstBlock		      "Product1"
      DstPort		      2
    }
    Annotation {
      Position		      [666, 256]
      UseDisplayTextAsClickCallback off
    }
  }
}
MatData {
  NumRecords		  2
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 249&5 "
  }
}

⌨️ 快捷键说明

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