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

📄 math_filter_rab.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}
	Line {
	  SrcBlock		  "Downsample1"
	  SrcPort		  1
	  DstBlock		  "Variable\nSelector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Complex to\nMagnitude-Angle"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Math\nFunction1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Buffer1"
	  SrcPort		  1
	  Points		  [-5, 0]
	  DstBlock		  "Window\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Window\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Filter2"
	  SrcPort		  1
	  Points		  [30, 0; 0, -60]
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Filter1"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Window\nFunction1"
	  SrcPort		  1
	  DstBlock		  "FFT1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Window\nFunction"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  DstBlock		  "TF Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  DstBlock		  "Downsample1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Magnitude\nSquared"
	  SrcPort		  1
	  DstBlock		  "Filter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT1"
	  SrcPort		  1
	  DstBlock		  "Downsample2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Filter2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reference"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Response"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Probe for a complex signal"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Buffer1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "TF Angle"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nMagnitude-Angle"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Phase Unwrap"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Switch1"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Probe for a complex signal"
	  SrcPort		  1
	  DstBlock		  "Rate Transition"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Real Range"
	  SrcPort		  1
	  Points		  [30, 0; 0, -25]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Complex Range"
	  SrcPort		  1
	  Points		  [20, 0; 0, 30]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Select alias free data."
	  Position		  [482, 207]
	}
	Annotation {
	  Name			  "Single Pole LPF for spectral  averaging."
	  Position		  [715, 29]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aSubsystem"
      Ports		      []
      Position		      [113, 124, 210, 203]
      BackgroundColor	      "[1.000000, 1.000000, 0.549020]"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"aSubsystem"
	Location		[463, 581, 676, 663]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aSubsystem1"
      Ports		      []
      Position		      [109, 230, 210, 308]
      BackgroundColor	      "[1.000000, 1.000000, 0.549020]"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"aSubsystem1"
	Location		[463, 581, 676, 663]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Line {
      SrcBlock		      "Random\nSource"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	Points			[0, 50]
	DstBlock		"Bandpass RF Filter1"
	DstPort			1
      }
      Branch {
	Points			[0, -55]
	Branch {
	  DstBlock		  "Bandpass RF Filter"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -55; 145, 0]
	  Branch {
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    2
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Matrix\nConcatenation2"
      SrcPort		      1
      DstBlock		      "Transfer Function "
      DstPort		      2
    }
    Line {
      Name		      "5th order"
      Labels		      [-1, 0]
      SrcBlock		      "Bandpass RF Filter1"
      SrcPort		      1
      Points		      [20, 0; 0, -40]
      DstBlock		      "Matrix\nConcatenation2"
      DstPort		      2
    }
    Line {
      Name		      "3rd order"
      Labels		      [-1, 1]
      SrcBlock		      "Bandpass RF Filter"
      SrcPort		      1
      Points		      [20, 0; 0, 45]
      DstBlock		      "Matrix\nConcatenation2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Matrix\nConcatenation"
      SrcPort		      1
      Points		      [10, 0; 0, 40]
      DstBlock		      "Transfer Function "
      DstPort		      1
    }
    Line {
      SrcBlock		      "Transfer Function "
      SrcPort		      1
      DstBlock		      "Complex Filter Magnitude in dB"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Transfer Function "
      SrcPort		      2
      DstBlock		      "Complex Filter Phase in Degrees"
      DstPort		      1
    }
    Annotation {
      Name		      "Mathematical Filters"
      Position		      [202, 40]
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "5th order"
      Position		      [161, 318]
    }
    Annotation {
      Name		      "3rd order"
      Position		      [166, 213]
    }
  }
}
MatData {
  NumRecords		  5
  DataRecord {
    Tag			    DataTag4
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    T     8    (     @         %    "
"\"     $    !     0         %  0 \"0    $    2    4V5E9       4V5E9$9L86<    "
"     #@   #     &    \"     0         !0    @    !    !     $         $  $ #$"
"X-3 .    0     8    (    !          %    \"     $    -     0         0    #0 "
"  $1O3F]T4V%V95-E960    "
  }
}

# Finite State Machines
#
#    Stateflow Version 6.1 (R14SP1) dated Sep  7 2004, 18:52:26
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"math_filter_rab"
		created              		"16-Jan-2006 14:13:13"
		isLibrary            		0
		firstTarget          		9
		sfVersion            		61014000
	}

	chart {
		id                       		2
		name                     		"Transfer Function /Phase Unwrap/Embedded\n"
					"MATLAB Function1"
		windowPosition           		[386.813 224.45 200.25 189.75]
		viewLimits               		[0 156.75 0 153.75]
		screen                   		[1 1 1280 1024 1.333333333333333]
		treeNode                 		[0 3 0 0]
		firstTransition          		5
		firstJunction            		4
		viewObj                  		2
		machine                  		1
		decomposition            		CLUSTER_CHART
		type                     		EML_CHART
		firstData                		6
		chartFileNumber          		4
		disableImplicitCasting   		1
		eml {
			name		"center_sub"
		}
	}

	state {
		id                  		3
		labelString         		"eML_blk_kernel()"
		position            		[18 64.5 118 66]
		fontSize            		12
		chart               		2
		treeNode            		[2 0 0 0]
		superState          		SUBCHART
		subviewer           		2
		type                		FUNC_STATE
		decomposition       		CLUSTER_STATE
		eml {
			isEML       		1
			script      		"function y = center_sub(u)\n"
						"% Set Phase to zero at DC.  \n"
						"y=zeros(size(u));\n"
						"[r,c]=size(u);\n"
						"p=ceil(r/2);\n"
						"for k=1:c\n"
						"    y(:,k) = u(:,k)-u(p,k);\n"
						"end;"
			editorLayout		"100 M4x1[225 225 640 512]"
		}
	}

	junction {
		id         		4
		position   		[23.5747 49.5747 7]
		chart      		2
		linkNode   		[2 0 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		5
		labelString    		"{eML_blk_kernel();}"
		labelPosition  		[32.125 19.875 102.544 14.964]
		fontSize       		12
		src {
			intersection		[0 0 1 0 23.5747 14.625 0 0]
		}
		dst {
			id          		4
			intersection		[7 0 -1 -1 23.5747 42.5747 0 0]
		}
		midPoint       		[23.5747 24.9468]
		chart          		2
		linkNode       		[2 0 0]
		dataLimits     		[21.175 25.975 14.625 42.575]
		subviewer      		2
		drawStyle      		SMART
	}

	data {
		id                            		6
		name                          		"u"
		linkNode                      		[2 0 7]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"inherited"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		complexity                    		SF_COMPLEX_INHERITED
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"-1"
				firstIndex		"1"
			}
		}
	}

	data {
		id                            		7
		name                          		"y"
		linkNode                      		[2 6 0]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"inherited"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		complexity                    		SF_COMPLEX_INHERITED
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"-1"
				firstIndex		"1"
			}
		}
	}

	instance {
		id     		8
		name   		"Transfer Function /Phase Unwrap/Embedded\n"
					"MATLAB Function1"
		machine		1
		chart  		2
	}

	target {
		id                        		9
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		machine                   		1
		linkNode                  		[1 0 0]
	}
}

⌨️ 快捷键说明

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