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

📄 mmse_mpsk.mdl

📁 This an adaptive receiver for a direct-sequence spread spectrum (DS-SS) system over an AWGN channel.
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  DatatypeGeneral	  "Boolean"
	  DtypeFloatSpecific	  "Any floating-point"
	  DtypeFixedSpecific	  "Any fixed-point"
	  DtypeIntSpecific	  "Any integer"
	  SampleMode		  "Ignore"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Check Signal\nAttributes1"
	  Ports			  [1, 1]
	  Position		  [110, 75, 170, 105]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Check Signal\nAttributes"
	  SourceType		  "Check Signal Attributes"
	  SigAttribCheckMethod	  "Does not match attributes exactly"
	  Complexity		  "Ignore"
	  Frame			  "Sample-based"
	  DimsCheckMethod	  "Is..."
	  Dimensions		  "Scalar (1-D or 2-D)"
	  DatatypeCheckMethod	  "Ignore"
	  DatatypeGeneral	  "Boolean"
	  DtypeFloatSpecific	  "Any floating-point"
	  DtypeFixedSpecific	  "Any fixed-point"
	  DtypeIntSpecific	  "Any integer"
	  SampleMode		  "Ignore"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Check Signal\nAttributes2"
	  Ports			  [1, 1]
	  Position		  [110, 110, 170, 140]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Check Signal\nAttributes"
	  SourceType		  "Check Signal Attributes"
	  SigAttribCheckMethod	  "Does not match attributes exactly"
	  Complexity		  "Ignore"
	  Frame			  "Sample-based"
	  DimsCheckMethod	  "Is..."
	  Dimensions		  "Scalar (1-D or 2-D)"
	  DatatypeCheckMethod	  "Ignore"
	  DatatypeGeneral	  "Boolean"
	  DtypeFloatSpecific	  "Any floating-point"
	  DtypeFixedSpecific	  "Any fixed-point"
	  DtypeIntSpecific	  "Any integer"
	  SampleMode		  "Ignore"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Check Signal\nAttributes3"
	  Ports			  [1, 1]
	  Position		  [110, 155, 170, 185]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Check Signal\nAttributes"
	  SourceType		  "Check Signal Attributes"
	  SigAttribCheckMethod	  "Does not match attributes exactly"
	  Complexity		  "Ignore"
	  Frame			  "Sample-based"
	  DimsCheckMethod	  "Is..."
	  Dimensions		  "Scalar (1-D or 2-D)"
	  DatatypeCheckMethod	  "Ignore"
	  DatatypeGeneral	  "Boolean"
	  DtypeFloatSpecific	  "Any floating-point"
	  DtypeFixedSpecific	  "Any fixed-point"
	  DtypeIntSpecific	  "Any integer"
	  SampleMode		  "Ignore"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Dot Product"
	  Ports			  [2, 1]
	  Position		  [495, 27, 525, 58]
	  ShowName		  off
	  SourceBlock		  "simulink3/Math/Dot Product"
	  SourceType		  "Dot Product"
	  Port {
	    PortNumber		    1
	    Name		    "y[k]"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [265, 35, 335, 65]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "LMS\nCoefficient Update"
	  Ports			  [4, 1]
	  Position		  [365, 99, 450, 141]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "LMS\nCoefficient Update"
	    Location		    [242, 196, 955, 488]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [15, 58, 45, 72]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Err"
	      Position		      [15, 153, 45, 167]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Adapt"
	      Position		      [15, 188, 45, 202]
	      Port		      "3"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Step-size\nselect"
	      Position		      [15, 238, 45, 252]
	      Port		      "4"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [70, 201, 100, 219]
	      ShowName		      off
	      Value		      "0"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [155, 44, 200, 86]
	      ShowName		      off
	      Gain		      "mu(1)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [415, 34, 450, 66]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Gain		      "leakage"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	      Port {
		PortNumber		1
		Name			"W[k-1]"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [155, 89, 200, 131]
	      ShowName		      off
	      Gain		      "mu(2)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Integer Delay"
	      Ports		      [1, 1]
	      Position		      [410, 77, 455, 113]
	      SourceBlock	      "dspsigops/Integer Delay"
	      SourceType	      "Integer Delay"
	      delay		      "1"
	      ic		      "ic"
	      Port {
		PortNumber		1
		Name			"W[k-1]"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Normalization"
	      Ports		      [1, 1]
	      Position		      [75, 43, 125, 87]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "Replaceable Contents"
	      MaskDescription	      "Configurable subsystem holding blocks w"
"hich may be replaced by virtual short-circuits (muxes) when not needed."
	      MaskHelp		      "\n"
	      MaskPromptString	      "Relative name of blocks to replace:|Sim"
"ulink path to each source block:|Parameter/value pairs to each block:|Replace"
" with short-circuit:"
	      MaskStyleString	      "edit,edit,edit,edit"
	      MaskTunableValueString  "off,off,off,off"
	      MaskCallbackString      "|||"
	      MaskEnableString	      "on,on,on,on"
	      MaskVisibilityString    "on,on,on,on"
	      MaskToolTipString	      "on,on,on,on"
	      MaskVariables	      "oname=&1;osrc=&2;oargs=@3;replace=@4;"
	      MaskInitialization      "opts.name = oname; opts.src = osrc; opt"
"s.args = oargs;\ndspskipblk(gcb,opts,replace);\n"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "Normalization|dspmathops/Normalization|"
"{'NormType','Squared 2-norm','Bias','1e-10'}|~normalized"
	      MaskVariableAliases     ",,,"
	      System {
		Name			"Normalization"
		Location		[124, 725, 380, 815]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [25, 38, 55, 52]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Normalization"
		  Ports			  [1, 1]
		  Position		  [80, 27, 130, 63]
		  SourceBlock		  "dspmathops/Normalization"
		  SourceType		  "Normalization"
		  NormType		  "Squared 2-norm"
		  Bias			  "1e-10"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [160, 38, 190, 52]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Normalization"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  DstBlock		  "Normalization"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [3, 1]
	      Position		      [320, 79, 345, 111]
	      ShowName		      off
	      Inputs		      "3"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator4"
	      Position		      [120, 187, 150, 218]
	      ShowName		      off
	      Operator		      "~="
	    }
	    Block {
	      BlockType		      Math
	      Name		      "conj2"
	      Ports		      [1, 1]
	      Position		      [165, 144, 195, 176]
	      ShowName		      off
	      Operator		      "conj"
	      OutputSignalType	      "auto"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "step-size\nselect"
	      Position		      [235, 70, 265, 100]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "sum"
	      Ports		      [2, 1]
	      Position		      [375, 85, 395, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "++|"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Coef"
	      Position		      [505, 88, 535, 102]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "0"
	    }
	    Line {
	      Name		      "W[k-1]"
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [-25, 0]
	      DstBlock		      "sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator4"
	      DstPort		      2
	    }
	    Line {
	      Name		      "W[k-1]"
	      Labels		      [0, 0; 0, 0]
	      SrcBlock		      "Integer Delay"
	      SrcPort		      1
	      Points		      [0, 0; 20, 0]
	      Branch {
		Points			[0, -45]
		DstBlock		"Gain2"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Coef"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator4"
	      SrcPort		      1
	      Points		      [145, 0; 0, -100]
	      DstBlock		      "Product2"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Adapt"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Normalization"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Normalization"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		Points			[0, 45]
		DstBlock		"Gain3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Err"
	      SrcPort		      1
	      DstBlock		      "conj2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "conj2"
	      SrcPort		      1
	      Points		      [85, 0; 0, -65]
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "sum"
	      SrcPort		      1
	      DstBlock		      "Integer Delay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [5, 0; 0, 10]
	      DstBlock		      "step-size\nselect"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [5, 0; 0, -15]
	      DstBlock		      "step-size\nselect"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Step-size\nselect"
	      SrcPort		      1
	      Points		      [165, 0; 0, -160]
	      DstBlock		      "step-size\nselect"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "step-size\nselect"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rebuffer"
	  Ports			  [1, 1]
	  Position		  [195, 25, 245, 75]
	  ShowName		  off
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "n"
	  V			  "round((n-N)/2)"
	  ic			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [560, 35, 580, 55]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport

⌨️ 快捷键说明

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