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

📄 sdtoolbox.mdl

📁 toolbox of sdt implementation
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}	Line {	  SrcBlock		  "Constant3"	  SrcPort		  1	  DstBlock		  "Selector"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "Colored Noise"      Ports		      [0, 1]      Position		      [130, 14, 175, 56]      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "Models a noise source with power spectral densi""ty defined by the user"      MaskHelp		      "web('CNS.html' , '-helpbrowser')"      MaskPromptString	      "Number of Sine Waves|Number of Folds|External i""nput vector |Vector Name (x,y)|Sampling Frequency|First Corner Frequency|Firs""t Corner PSD|Second Corner Frequency|Second Corner PSD|Random Number Seed|Dis""play PSD"      MaskStyleString	      "edit,edit,checkbox,edit,edit,edit,edit,edit,edi""t,edit,checkbox"      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on"      MaskCallbackString      "||opt1=(get_param(gcb,'EIV'));\nswitch opt1\n""	case 'off'\n				set_param(gcb,'MaskEnable""s',{'on','on','on','off','on','on','on','on','on','on','on'});\n	case ""'on'\n				set_param(gcb,'MaskEnables',{'on','on',""'on','on','off','off','off','off','off','on','on'});		\nend\n||""||||||"      MaskEnableString	      "on,on,on,off,on,on,on,on,on,on,on"      MaskVisibilityString    "on,on,on,on,on,on,on,on,on,on,on"      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on"      MaskVarAliasString      ",,,,,,,,,,"      MaskVariables	      "N=@1;FN=@2;EIV=@3;noisein=@4;Fs=@5;fC1=@6;AmplC""orner1=@7;fC2=@8;AmplCorner2=@9;RNS=@10;DPSD=@11;"      MaskInitialization      "[Ampl,fasi]=Noise_init(N,FN,Fs,fC1,fC2,AmplCorn""er1,AmplCorner2,RNS,EIV,DPSD,noisein);"      MaskDisplay	      "plot([0.12 0.40 0.70 0.85],[0.90 0.45 0.45 0.05""])\nplot([0.08 0.08],[0.05 0.90])\nplot([0.05 0.95],[0.08 0.08])"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      MaskValueString	      "2^14|40|off|noise_by_eldo|Fs|201e3  |81.9e-18|1""3e6|23.2e-18|floor((sum(clock))^32.1234)|off"      MaskTabNameString	      ",,,,,,,,,,"      System {	Name			"Colored Noise"	Location		[627, 146, 942, 433]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"A4"	PaperUnits		"centimeters"	ZoomFactor		"100"	Block {	  BlockType		  MATLABFcn	  Name			  "MATLAB Fcn"	  Position		  [170, 25, 230, 55]	  MATLABFcn		  "noise_gen(u,Ampl,fasi,Fs,N)"	}	Block {	  BlockType		  Reference	  Name			  "Ramp"	  Ports			  [0, 1]	  Position		  [25, 25, 55, 55]	  SourceBlock		  "simulink/Sources/Ramp"	  SourceType		  "Ramp"	  ShowPortLabels	  "on"	  slope			  "1"	  start			  "0"	  X0			  "0"	  VectorParams1D	  "on"	}	Block {	  BlockType		  ZeroOrderHold	  Name			  "Zero-Order\nHold"	  Position		  [95, 21, 130, 59]	  SampleTime		  "Ts"	}	Block {	  BlockType		  Outport	  Name			  "Out1"	  Position		  [275, 33, 305, 47]	  IconDisplay		  "Port number"	  BusOutputAsStruct	  off	}	Line {	  SrcBlock		  "Zero-Order\nHold"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "Out1"	  DstPort		  1	}	Line {	  SrcBlock		  "Ramp"	  SrcPort		  1	  DstBlock		  "Zero-Order\nHold"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "Demos"      Ports		      []      Position		      [650, 95, 762, 155]      BackgroundColor	      "cyan"      DropShadow	      on      OpenFcn		      "sdtoolboxdemo"      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "SD Toolbox demos"      MaskDisplay	      "disp('Demos')"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      System {	Name			"Demos"	Location		[233, 560, 568, 676]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"A4"	PaperUnits		"centimeters"	ZoomFactor		"100"      }    }    Block {      BlockType		      SubSystem      Name		      "GNU"      Ports		      []      Position		      [370, 250, 539, 268]      ForegroundColor	      "blue"      ShowName		      off      OpenFcn		      "web('lgpl.htm')"      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskType		      "GNU"      MaskDisplay	      "disp('GNU Lesser General Public License')\nplot""([0 1],[0.1 0.1])"      MaskIconFrame	      off      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      System {	Name			"GNU"	Location		[440, 424, 715, 543]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"A4"	PaperUnits		"centimeters"	ZoomFactor		"100"      }    }    Block {      BlockType		      SubSystem      Name		      "IDEAL\nResonator"      Ports		      [1, 1]      Position		      [705, 17, 760, 53]      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "Models an deal discrete resonator with delay co""nsidering op-amp saturation"      MaskHelp		      "web('IdRes.html','-helpbrowser')"      MaskPromptString	      "Sample Time|Saturation"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVarAliasString      ","      MaskVariables	      "Ts=@1;Amax=@2;"      MaskDisplay	      "dpoly([0 0 -1], [1 0 1], 'z-')"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "Ts|0"      MaskTabNameString	      ","      System {	Name			"IDEAL\nResonator"	Location		[144, 90, 722, 337]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	Block {	  BlockType		  Inport	  Name			  "IN"	  Position		  [110, 35, 130, 55]	  Port			  "1"	  IconDisplay		  "Port number"	  LatchInput		  off	}	Block {	  BlockType		  Saturate	  Name			  "Saturation"	  Position		  [410, 35, 450, 65]	  UpperLimit		  "Amax"	  LowerLimit		  "-Amax"	}	Block {	  BlockType		  Sum	  Name			  "Sum"	  Ports			  [2, 1]	  Position		  [180, 38, 205, 62]	}	Block {	  BlockType		  UnitDelay	  Name			  "Unit Delay"	  Position		  [280, 35, 310, 65]	  SampleTime		  "Ts"	}	Block {	  BlockType		  UnitDelay	  Name			  "Unit Delay1"	  Position		  [340, 35, 370, 65]	  SampleTime		  "Ts"	}	Block {	  BlockType		  Gain	  Name			  "c3"	  Position		  [225, 35, 255, 65]	  ShowName		  off	  Gain			  "-1"	}	Block {	  BlockType		  Outport	  Name			  "Out1"	  Position		  [515, 41, 535, 59]	  IconDisplay		  "Port number"	  BusOutputAsStruct	  off	}	Line {	  SrcBlock		  "c3"	  SrcPort		  1	  DstBlock		  "Unit Delay"	  DstPort		  1	}	Line {	  SrcBlock		  "Sum"	  SrcPort		  1	  DstBlock		  "c3"	  DstPort		  1	}	Line {	  SrcBlock		  "Unit Delay1"	  SrcPort		  1	  DstBlock		  "Saturation"	  DstPort		  1	}	Line {	  SrcBlock		  "Unit Delay"	  SrcPort		  1	  DstBlock		  "Unit Delay1"	  DstPort		  1	}	Line {	  SrcBlock		  "IN"	  SrcPort		  1	  DstBlock		  "Sum"	  DstPort		  1	}	Line {	  SrcBlock		  "Saturation"	  SrcPort		  1	  Points		  [10, 0]	  Branch {	    Points		    [0, 55; -310, 0; 0, -50]	    DstBlock		    "Sum"	    DstPort		    2	  }	  Branch {	    DstBlock		    "Out1"	    DstPort		    1	  }	}      }    }    Block {      BlockType		      SubSystem      Name		      "IDEAL Integrator\n(no Delay)"      Ports		      [1, 1]      Position		      [615, 17, 670, 53]      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "Models an ideal discrete integrator without del""ay considering op-amp saturation"      MaskHelp		      "web('IdIntND.html','-helpbrowser')"      MaskPromptString	      "Saturation|Sample Time"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVarAliasString      ","      MaskVariables	      "Amax=@1;Ts=@2;"      MaskDisplay	      "dpoly([1 0], [1 -1], 'z-')"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "Amax|Ts"      MaskTabNameString	      ","      System {	Name			"IDEAL Integrator\n(no Delay)"	Location		[433, 302, 1011, 549]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	Block {	  BlockType		  Inport	  Name			  "IN"	  Position		  [110, 35, 130, 55]	  Port			  "1"	  IconDisplay		  "Port number"	  LatchInput		  off	}	Block {	  BlockType		  Saturate	  Name			  "Saturation"	  Position		  [285, 35, 325, 65]	  UpperLimit		  "Amax"	  LowerLimit		  "-Amax"	}	Block {	  BlockType		  Sum	  Name			  "Sum"	  Ports			  [2, 1]	  Position		  [180, 38, 205, 62]	}	Block {	  BlockType		  UnitDelay	  Name			  "Unit Delay"	  Position		  [220, 90, 250, 120]	  Orientation		  "left"	  SampleTime		  "Ts"	}	Block {	  BlockType		  Outport	  Name			  "Out1"	  Position		  [365, 41, 385, 59]	  IconDisplay		  "Port number"	  BusOutputAsStruct	  off	}	Line {	  SrcBlock		  "Unit Delay"	  SrcPort		  1	  Points		  [-65, 0; 0, -50]	  DstBlock		  "Sum"	  DstPort		  2	}	Line {	  SrcBlock		  "Sum"	  SrcPort		  1	  DstBlock		  "Saturation"	  DstPort		  1	}	Line {	  SrcBlock		  "Saturation"	  SrcPort		  1	  Points		  [5, 0]	  Branch {	    Points		    [0, 55]	    DstBlock		    "Unit Delay"	    DstPort		    1	  }	  Branch {	    DstBlock		    "Out1"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "IN"	  SrcPort		  1	  DstBlock		  "Sum"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "IDEAL Integrator\n(with Delay)"      Ports		      [1, 1]      Position		      [505, 17, 560, 53]      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "Models an ideal discrete integrator with delay ""considering op-amp saturation"      MaskHelp		      "web('IdIntD.html','-helpbrowser')"      MaskPromptString	      "Saturation|Sample Time"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVarAliasString      ","      MaskVariables	      "Amax=@1;Ts=@2;"      MaskDisplay	      "dpoly([0 1], [1 -1], 'z-')"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "Amax|Ts"      MaskTabNameString	      ","      System {	Name			"IDEAL Integrator\n(with Delay)"	Location		[433, 302, 1011, 549]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	Block {	  BlockType		  Inport	  Name			  "IN"	  Position		  [110, 35, 130, 55]	  Port			  "1"	  IconDisplay		  "Port number"	  LatchInput		  off	}	Block {	  BlockType		  Saturate	  Name			  "Saturation"	  Position		  [285, 35, 325, 65]	  UpperLimit		  "Amax"	  LowerLimit		  "-Amax"	}	Block {	  BlockType		  Sum	  Name			  "Sum"	  Ports			  [2, 1]	  Position		  [180, 38, 205, 62]	}	Block {	  BlockType		  UnitDelay	  Name			  "Unit Delay"	  Position		  [230, 35, 260, 65]	  SampleTime		  "Ts"	}	Block {	  BlockType		  Outport	  Name			  "Out1"	  Position		  [365, 41, 385, 59]	  IconDisplay		  "Port number"	  BusOutputAsStruct	  off	}	Line {	  SrcBlock		  "Saturation"	  SrcPort		  1	  Points		  [5, 0]	  Branch {	    Points		    [0, 55; -185, 0; 0, -50]	    DstBlock		    "Sum"	    DstPort		    2	  }	  Branch {	    DstBlock		    "Out1"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Unit Delay"	  SrcPort		  1	  DstBlock		  "Saturation"	  DstPort		  1	}	Line {	  SrcBlock		  "IN"	  SrcPort		  1	  DstBlock		  "Sum"	  DstPort		  1	}	Line {	  SrcBlock		  "Sum"	  SrcPort		  1	  DstBlock		  "Unit Delay"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "Jittered SineWave"      Ports		      [0, 1]      Position		      [45, 14, 85, 56]      TreatAsAtomicUnit	      off      MinAlgLoopOccurrences   off      RTWSystemCode	      "Auto"      MaskDescription	      "Generates a sine wave with sampling jitter (the"" derivative of the signal is analytically calculated)"      MaskHelp		      "web('JSW.html','-helpbrowser')"      MaskPromptString	      "Amplitude|Bias|Frequency (rad/sec)|Phase (rad)|""Sampling Jitter|Sample Time|Random Number Seed"      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit"      MaskTunableValueString  "on,on,on,on,on,on,on"      MaskCallbackString      "||||||"      MaskEnableString	      "on,on,on,on,on,on,on"      MaskVisibilityString    "on,on,on,on,on,on,on"      MaskToolTipString	      "on,on,on,on,on,on,on"      MaskVarAliasString      ",,,,,,"      MaskVariables	      "Ampl=@1;Bias=@2;Freq=@3;Phase=@4;SampJ=@5;Ts=@6"";seed=@7;"      MaskInitialization      "randn('state',seed)"      MaskDisplay	      "plot([0.10:0.01:0.90], 0.5+Bias/3+0.4*sin(([0.1""0:0.01:0.90]-0.10)*8))\nplot([0.10 0.10], [0.10 0.90])\nplot([0.10 0.90], [0.""50 0.50])\ntext(0.9,0.18, 'J','horizontalAlignment', 'right')\n"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      MaskValueString	      "Ampl|0|finrad/15.7|pi/17|delta|Ts|1"      MaskTabNameString	      ",,,,,,"      System {	Name			"Jittered SineWave"	Location		[543, 202, 925, 340]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"A4"	PaperUnits		"centimeters"	ZoomFactor		"100"

⌨️ 快捷键说明

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