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

📄 my_ofdm.mdl

📁 基于小波变换的调制识别方法.里面包含如下内容:QAM、PSK、FSK、AM和OFDM信号源生成程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  FunctionName		  "randomization"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Shortened RS Encoder"
	  Ports			  [1, 1]
	  Position		  [235, 79, 315, 131]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('(204,188)\\nShortened\\nReed-Solomon"
"\\nEncoder')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Shortened RS Encoder"
	    Location		    [2, 82, 1014, 732]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [45, 68, 75, 82]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [100, 50, 150, 100]
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "188"
	      V			      "0"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Integer-Input\nRS Encoder"
	      Ports		      [1, 1]
	      Position		      [285, 53, 365, 97]
	      SourceBlock	      "commblkcod2/Integer-Input\nRS Encoder"
	      SourceType	      "Integer-Input RS Encoder"
	      n			      "255"
	      k			      "239"
	      specPrimPoly	      off
	      primPoly		      "[1 0 1 1]"
	      specGenPoly	      off
	      genPoly		      "rsgenpoly(7,3)"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [405, 54, 465, 96]
	      ShowName		      off
	      Elements		      "[17:204 1:16]"
	      InputPortWidth	      "255"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [195, 57, 240, 93]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "239"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [510, 68, 540, 82]
	      ShowName		      off
	    }
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "Integer-Input\nRS Encoder"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integer-Input\nRS Encoder"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Buffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Buffer"
	      SrcPort		      1
	      DstBlock		      "Zero Pad"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "204*1"
	      Position		      [487, 49]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [1, 1]
	  Position		  [735, 82, 805, 128]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('Add\\npilots');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem"
	    Location		    [3, 108, 791, 609]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 108, 55, 122]
	    }
	    Block {
	      BlockType		      ComplexToRealImag
	      Name		      "Complex to\nReal-Imag"
	      Ports		      [1, 2]
	      Position		      [110, 93, 180, 137]
	      Output		      "Real and imag"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [585, 104, 635, 136]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      RealImagToComplex
	      Name		      "Real-Imag to\nComplex"
	      Ports		      [2, 1]
	      Position		      [480, 94, 560, 141]
	      Input		      "Real and imag"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape"
	      Ports		      [1, 1]
	      Position		      [240, 72, 290, 108]
	      SourceBlock	      "simulink/Math\nOperations/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "1-D array"
	      OutputDimensions	      "[1,1]"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape1"
	      Ports		      [1, 1]
	      Position		      [240, 127, 290, 163]
	      SourceBlock	      "simulink/Math\nOperations/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "1-D array"
	      OutputDimensions	      "[1,1]"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function1"
	      Ports		      [1, 1]
	      Position		      [360, 130, 420, 160]
	      OpenFcn		      "edit('pilot_imag.m')"
	      FunctionName	      "pilot_imag"
	      Parameters	      "m_data1,m_data2,m_data3,m_data4"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function2"
	      Ports		      [1, 1]
	      Position		      [360, 75, 420, 105]
	      OpenFcn		      "edit('pilot_real.m')"
	      FunctionName	      "pilot_real"
	      Parameters	      "m_data1,m_data2,m_data3,m_data4,pilot,t"
"ps_odd"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [660, 113, 690, 127]
	    }
	    Line {
	      SrcBlock		      "Reshape"
	      SrcPort		      1
	      DstBlock		      "S-Function2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Reshape1"
	      SrcPort		      1
	      DstBlock		      "S-Function1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Reshape"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      2
	      Points		      [15, 0; 0, 20]
	      DstBlock		      "Reshape1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function1"
	      SrcPort		      1
	      Points		      [20, 0; 0, -15]
	      DstBlock		      "Real-Imag to\nComplex"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "S-Function2"
	      SrcPort		      1
	      Points		      [20, 0; 0, 15]
	      DstBlock		      "Real-Imag to\nComplex"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Real-Imag to\nComplex"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem1"
	  Ports			  [1, 1]
	  Position		  [1007, 165, 1063, 205]
	  Orientation		  "down"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('adaption')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem1"
	    Location		    [134, 314, 1146, 964]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 43, 55, 57]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [80, 34, 130, 66]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [195, 26, 245, 74]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [365, 43, 395, 57]
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "dout"
	  Position		  [1055, 323, 1085, 337]
	}
	Line {
	  SrcBlock		  "Shortened RS Encoder"
	  SrcPort		  1
	  DstBlock		  "Outer Interleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Outer Interleaver"
	  SrcPort		  1
	  DstBlock		  "Inner Coder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DVB-T Inner Interleaver"
	  SrcPort		  1
	  DstBlock		  "Mapper"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mapper"
	  SrcPort		  1
	  DstBlock		  "Subsystem"
	  DstPort		  1
	}
	Line {
	  Labels		  [1, 0]
	  SrcBlock		  "Inner Coder"
	  SrcPort		  1
	  DstBlock		  "DVB-T Inner Interleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  DstBlock		  "OFDM Transmitter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "S-Function1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "OFDM Transmitter"
	  SrcPort		  1
	  DstBlock		  "\n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function1"
	  SrcPort		  1
	  DstBlock		  "Shortened RS Encoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "\n"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Subsystem1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [0, 55]
	  DstBlock		  "dout"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Annotation {
	  Name			  "2k Mode, Nonhierarchical Transmission"
	  Position		  [642, 29]
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  FontAngle		  "italic"
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [565, 244, 650, 276]
      VariableName	      "ofdm"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [545, 119, 630, 151]
      VariableName	      "ofdm1"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [555, 304, 640, 336]
      VariableName	      "ofdm3"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Line {
      SrcBlock		      "OFDM_DVB"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      1
      Points		      [65, 0]
      DstBlock		      "To Workspace"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[5, 0; 0, -10]
	DstBlock		"Multipath Rayleigh\nFading Channel"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"Multipath Rayleigh\nFading Channel2"
	DstPort			1
      }
      Branch {
	Points			[0, -105]
	DstBlock		"Multipath Rayleigh\nFading Channel1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel1"
      SrcPort		      1
      DstBlock		      "To Workspace1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel2"
      SrcPort		      1
      DstBlock		      "To Workspace2"
      DstPort		      1
    }
    Annotation {
      Position		      [485, 474]
    }
  }
}

⌨️ 快捷键说明

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