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

📄 ofdm_test.mdl

📁 OFDM信道估计(梳状导频)
💻 MDL
📖 第 1 页 / 共 4 页
字号:
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
  }
  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		    "ofdm_test"
    Location		    [2, 82, 1014, 717]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel1"
      Ports		      [1, 1]
      Position		      [335, 49, 415, 91]
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "67"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "10"
      SNRdB		      "snr"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel2"
      Ports		      [1, 1]
      Position		      [335, 129, 415, 171]
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "67"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "10"
      SNRdB		      "snr"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel3"
      Ports		      [1, 1]
      Position		      [345, 314, 425, 356]
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "67"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "10"
      SNRdB		      "snr"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Delay"
      Ports		      [1, 1]
      Position		      [390, 415, 445, 455]
      SourceBlock	      "dspsigops/Delay"
      SourceType	      "Delay"
      dly_unit		      "Samples"
      delay		      "143-87"
      ic_detail		      off
      dif_ic_for_ch	      off
      dif_ic_for_dly	      off
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      Product
      Name		      "Divide"
      Ports		      [2, 1]
      Position		      [330, 257, 360, 288]
      Inputs		      "*/"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation1"
      Ports		      [2, 1]
      Position		      [735, 151, 810, 204]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "500"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ber_dbpsk"
      RsMode2		      off
      stop		      off
      numErr		      "600"
      maxBits		      "1e8"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation2"
      Ports		      [2, 1]
      Position		      [735, 56, 810, 109]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "500"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ber_dbpsk"
      RsMode2		      off
      stop		      off
      numErr		      "600"
      maxBits		      "1e8"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation3"
      Ports		      [2, 1]
      Position		      [735, 396, 810, 449]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "500"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ber_dbpsk"
      RsMode2		      off
      stop		      off
      numErr		      "300"
      maxBits		      "1e8"
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel1"
      Ports		      [1, 1]
      Position		      [215, 48, 295, 92]
      ShowName		      off
      SourceBlock	      "commchan2/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath Rayleigh Fading Channel"
      ShowPortLabels	      on
      Fd		      "12.5"
      simTs		      "1/1000/10"
      delayVec		      "[0]"
      gainVecdB		      "[0]"
      normGain		      on
      Seed		      "73"
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel2"
      Ports		      [1, 1]
      Position		      [220, 128, 300, 172]
      ShowName		      off
      SourceBlock	      "commchan2/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath Rayleigh Fading Channel"
      ShowPortLabels	      on
      Fd		      "12.5"
      simTs		      "1/1000/10"
      delayVec		      "[0]"
      gainVecdB		      "[0]"
      normGain		      on
      Seed		      "73"
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel3"
      Ports		      [1, 1]
      Position		      [220, 313, 300, 357]
      ShowName		      off
      SourceBlock	      "commchan2/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath Rayleigh Fading Channel"
      ShowPortLabels	      on
      Fd		      "12.5"
      simTs		      "1/1000/10"
      delayVec		      "[0]"
      gainVecdB		      "[0]"
      normGain		      on
      Seed		      "73"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Rx_BPSK"
      Ports		      [1, 1]
      Position		      [485, 305, 595, 365]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Rx_BPSK"
	Location		[2, 82, 1014, 700]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "data"
	  Position		  [25, 48, 55, 62]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "BPSK\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [1000, 41, 1075, 89]
	  FontSize		  10
	  SourceBlock		  "commdigbbndpm2/BPSK\nDemodulator\nBaseband"
	  SourceType		  "BPSK Demodulator Baseband"
	  ShowPortLabels	  on
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT"
	  Ports			  [1, 1]
	  Position		  [200, 38, 240, 72]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  additionalParams	  off
	  SkipNorm		  on
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Inherit via internal rule"
	  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		  FrameConversion
	  Name			  "Frame Conversion"
	  Position		  [340, 35, 395, 75]
	  OutFrame		  "Frame based"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [140, 40, 165, 70]
	  Gain			  "1/sqrt(64)"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nConcatenation"
	  Ports			  [8, 1]
	  Position		  [485, 168, 625, 357]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "8"
	  catMethod		  "Horizontal"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [915, 47, 945, 78]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape"
	  Ports			  [1, 1]
	  Position		  [755, 247, 825, 283]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[64,1]"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [80, 36, 120, 74]
	  Elements		  "[17:80]"
	  InputPortWidth	  "80"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [280, 156, 320, 194]
	  Elements		  "[8:8:64]"
	  InputPortWidth	  "64"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [1, 1]
	  Position		  [1130, 46, 1170, 84]
	  Elements		  "[1:7 9:15 17:23 25:31 33:39 41:47 49:55 57:"
"63]"
	  Rows			  "[1:7]"
	  Columns		  "[1:8]"
	  InputPortWidth	  "64"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Transpose"
	  Ports			  [1, 1]
	  Position		  [665, 245, 720, 285]
	  SourceBlock		  "dspmtrx3/Transpose"
	  SourceType		  "Transpose"
	  Hermitian		  on
	  overflowFlag		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unbuffer"
	  Ports			  [1, 1]
	  Position		  [1265, 41, 1315, 89]
	  SourceBlock		  "dspbuff3/Unbuffer"
	  SourceType		  "Unbuffer"
	  ic			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1360, 58, 1390, 72]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Frame Conversion"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 120]
	    DstBlock		    "Selector1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "data"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 25]
	    Branch {
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 25]
	      Branch {
		DstBlock		"Matrix\nConcatenation"
		DstPort			3
	      }
	      Branch {
		Points			[0, 25]
		Branch {
		  DstBlock		  "Matrix\nConcatenation"
		  DstPort		  4
		}
		Branch {
		  Points		  [0, 25]
		  Branch {
		    DstBlock		    "Matrix\nConcatenation"
		    DstPort		    5
		  }
		  Branch {
		    Points		    [0, 25]
		    Branch {
		    DstBlock		    "Matrix\nConcatenation"
		    DstPort		    6
		    }
		    Branch {
		    Points		    [0, 25]
		    Branch {
		    Points		    [0, 25]
		    DstBlock		    "Matrix\nConcatenation"
		    DstPort		    8
		    }
		    Branch {
		    DstBlock		    "Matrix\nConcatenation"
		    DstPort		    7
		    }
		    }
		  }
		}
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation"
	  SrcPort		  1
	  DstBlock		  "Transpose"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transpose"
	  SrcPort		  1
	  DstBlock		  "Reshape"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Conversion"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "BPSK\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector2"

⌨️ 快捷键说明

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