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

📄 sub_bands.mdl

📁 Matlab环境下的各种无线系统的仿真例程
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    Block {
      BlockType		      Reference
      Name		      "Random\nSource"
      Ports		      [0, 1]
      Position		      [15, 26, 50, 64]
      UserDataPersistent      on
      UserData		      "DataTag1"
      Diagnostics	      "AllowInheritedTsInSrc"
      FontName		      "Arial"
      FontSize		      12
      SourceBlock	      "dspsrcs4/Random\nSource"
      SourceType	      "Random Source"
      SrcType		      "Gaussian"
      NormMethod	      "Ziggurat"
      CltLength		      "12"
      Min		      "0"
      Max		      "1"
      Mean		      "0"
      Var		      "1"
      RepMode		      "Not repeatable"
      rawSeed		      "1"
      Inherit		      off
      SampMode		      "Discrete"
      SampTime		      "1/bandwidth"
      SampFrame		      "n_sub_bands"
      DataType		      "Double"
      OutComplex	      "Complex"
    }
    Block {
      BlockType		      Reference
      Name		      "S-Parameters\nAmplifier"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [185, 21, 275, 69]
      FontName		      "Arial"
      FontSize		      12
      SourceBlock	      "rfamplifiers1/S-Parameters\nAmplifier"
      SourceType	      "S-Parameters Amplifier"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "s-params-amplifier"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      NetParamData	      "[0,0;2,0]"
      Z0		      "Z0"
      NetParamFreq	      "f_c"
      InterpMethod	      "Linear"
      IP3Type		      "OIP3"
      IIP3		      "inf"
      OIP3		      "inf"
      NF		      "0"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "Same as the Frequency parameter"
      Freq		      "[1.9e9:1.0e8:2.2e9]"
      AllPlotType	      "X-Y plane"
      NetworkData	      "S21"
      SmithData		      "S11"
      PolarData		      "S12"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sample time to MHz"
      Ports		      [1, 1]
      Position		      [110, 175, 160, 205]
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Sample time to MHz"
	Location		[2, 74, 1014, 740]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Ts"
	  Position		  [15, 103, 45, 117]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "1ms/Tf"
	  Ports			  [2, 1]
	  Position		  [395, 22, 440, 138]
	  Inputs		  "*/"
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Probe
	  Name			  "Probe"
	  Ports			  [1, 1]
	  Position		  [190, 99, 290, 121]
	  ProbeWidth		  off
	  ProbeComplexSignal	  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [310, 91, 350, 129]
	  InputPortWidth	  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unbuffer"
	  Ports			  [1, 1]
	  Position		  [85, 86, 135, 134]
	  SourceBlock		  "dspbuff3/Unbuffer"
	  SourceType		  "Unbuffer"
	  ic			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "millesecond"
	  Position		  [165, 35, 195, 65]
	  Value			  "1e-6"
	}
	Block {
	  BlockType		  Product
	  Name			  "s=>us"
	  Ports			  [2, 1]
	  Position		  [440, 171, 485, 204]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Display
	  Name			  "us"
	  Ports			  [1]
	  Position		  [520, 175, 610, 205]
	  Format		  "bank"
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Constant
	  Name			  "usconv"
	  Position		  [325, 180, 355, 210]
	  Value			  "1e6"
	}
	Block {
	  BlockType		  Outport
	  Name			  "MHz"
	  Position		  [510, 73, 540, 87]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Probe"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "millesecond"
	  SrcPort		  1
	  DstBlock		  "1ms/Tf"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ts"
	  SrcPort		  1
	  DstBlock		  "Unbuffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1ms/Tf"
	  SrcPort		  1
	  DstBlock		  "MHz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "1ms/Tf"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "s=>us"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "s=>us"
	  SrcPort		  1
	  DstBlock		  "us"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "usconv"
	  SrcPort		  1
	  DstBlock		  "s=>us"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Unbuffer"
	  SrcPort		  1
	  DstBlock		  "Probe"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [425, 20, 460, 70]
      FontName		      "Arial"
      FontSize		      12
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      off
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      off
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-16.3156816052169"
      YMax		      "6.6195203748735"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      LineMarkers	      "x"
    }
    Block {
      BlockType		      Display
      Name		      "Sub band MHz"
      Ports		      [1]
      Position		      [190, 113, 295, 137]
      FontName		      "Arial"
      FontSize		      12
      Decimation	      "1"
    }
    Line {
      SrcBlock		      "Random\nSource"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Input Port"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	Branch {
	  DstBlock		  "Frame time to MHz"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 65]
	  DstBlock		  "Sample time to MHz"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Output Port"
      SrcPort		      1
      DstBlock		      "Spectrum\nScope"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Input Port"
      SrcPort		      RConn1
      DstBlock		      "S-Parameters\nAmplifier"
      DstPort		      LConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "S-Parameters\nAmplifier"
      SrcPort		      RConn1
      DstBlock		      "Output Port"
      DstPort		      LConn1
    }
    Line {
      SrcBlock		      "Frame time to MHz"
      SrcPort		      1
      DstBlock		      "Sub band MHz"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sample time to MHz"
      SrcPort		      1
      DstBlock		      "Double-sided\nBandwidth MHz"
      DstPort		      1
    }
    Annotation {
      Name		      "Illustrates the relationships...\nlength of imp"
"ulse response = number of sub bands\ntotal bandwidth = 1/sample time,\nsub ba"
"nd bandwidth = total bandwidth / number of sub bands\nSelect View=>Model Expl"
"orer on the Simulink menu\nto view and change n_sub_bands and bandwidth param"
"eters in the\nModel Workspace"
      Position		      [321, 171]
      HorizontalAlignment     "left"
      BackgroundColor	      "lightBlue"
      FontName		      "Arial"
      FontSize		      12
    }
  }
}
MatData {
  NumRecords		  2
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    V     8    (     @         %    "
"\"     $    !     0         %  0 \"0    $    2    4V5E9       4V5E9$9L86<    "
"     #@   #@    &    \"     0         !0    @    !    !0    $         $     4"
"    T-#0W,     X   !     !@    @    $          4    (     0    T    !        "
" !     -    1&].;W13879E4V5E9     "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    J!0   8    (     @         %    "
"\"     $    $     0         %  0 !@    $    ,    3F%M90  5F%L=64       X   ! "
"    !@    @    $          4    (     0    D    !         !     )    8F%N9'=I9"
"'1H          X   #0!   !@    @    1          $          0    8   !H86YD;&4   "
"$    2    4VEM=6QI;FLN4&%R86UE=&5R        #@   ( $   &    \"     $         !0"
"    @    '     0    $         #@   ' \"   &    \"     D         !0    @   !  "
"@   0    $          @   $ \"   !    $P   /     P 0  . $  )@!   X @  0 (      "
"       4VEM=6QI;FL 4&%R86UE=&5R %)45TEN9F\\ 4&%R86U25%=);F9O %-T;W)A9V5#;&%S<"
"P!!=71O %1Y<&51=6%L:69I97(  $%L:6%S $-U<W1O;5-T;W)A9V5#;&%S<P!$969A=6QT $-U<W"
"1O;4%T=')I8G5T97, 4VEM=6QI;FM#4T, 071T<FEB0VQA<W-?4VEM=6QI;FM?1&5F875L= !$97-"
"C<FEP=&EO;@!$;V-5;FET<P!-:6X 36%X %9A;'5E                         0    (     "
"          $    $               -    #@                                       "
"                  !                     0         \"                     @   "
"      #                     P                    8    #     0    $    /      "
"    @    0          @    1     0    (    2     0    ,    3     0    0        "
" !0    4         !@    <         \"     D         \"     H         \"P    P  "
"  !                               .    >     8    (     0         %    \"    "
" $    !     0         .    2     8    (    #0         %    \"     4    !     "
"0         &    %        -T\"     0    $    !          X   !(    !@    @    - "
"         4    (    !0    $    !          8    4        W0(    !     0    ,   "
"      #@   $@    &    \"     T         !0    @    %     0    $         !@   !"
"0       #= @    $    !     @         .    .     8    (    !@         %    \" "
"    $    !     0         )    \"            /#_#@   #@    &    \"     8      "
"   !0    @    !     0    $         \"0    @           #P?PX    X    !@    @  "
"  &          4    (     0    $    !          D    (         (\"$7D$.    0    "
" 8    (    !          %    \"     $    +     0         0    \"P   &Y?<W5B7V)A"
";F1S       .    T 0   8    (    $0         !          $    &    :&%N9&QE   ! "
"   $@   %-I;75L:6YK+E!A<F%M971E<@        X   \" !   !@    @    !          4  "
"  (    !P    $    !          X   !P @  !@    @    )          4    (    0 (   "
"$    !          (   !  @   0   !,   #P    , $  #@!  \"8 0  . (  $ \"         "
"    %-I;75L:6YK %!A<F%M971E<@!25%=);F9O %!A<F%M4E1726YF;P!3=&]R86=E0VQA<W, 07"
"5T;P!4>7!E475A;&EF:65R  !!;&EA<P!#=7-T;VU3=&]R86=E0VQA<W, 1&5F875L= !#=7-T;VU"
"!='1R:6)U=&5S %-I;75L:6YK0U-# $%T=')I8D-L87-S7U-I;75L:6YK7T1E9F%U;'0 1&5S8W)I"
"<'1I;VX 1&]C56YI=', 36EN $UA> !686QU90                        $    \"        "
"       !    !               #0    X                                          "
"                0                    $          @                    (       "
"   P                    ,                    &     P    $    !    #P         "
"(    $          (    $0    $    \"    $@    $    #    $P    $    $          4"
"    %          8    '          @    )          @    *          L    ,     0  "
"                            #@   '@    &    \"     $         !0    @    !    "
" 0    $         #@   $@    &    \"     T         !0    @    %     0    $     "
"    !@   !0       #= @    $    !     0         .    2     8    (    #0       "
"  %    \"     4    !     0         &    %        -T\"     0    $    #        "
"  X   !(    !@    @    -          4    (    !0    $    !          8    4     "
"   W0(    !     0    (         #@   #@    &    \"     8         !0    @    ! "
"    0    $         \"0    @           #P_PX    X    !@    @    &          4  "
"  (     0    $    !          D    (            \\'\\.    .     8    (    !@  "
"       %    \"     $    !     0         )    \"            &! #@   #     &   "
" \"     0         !0    @    !     P    $         $  # &9?8P .    T 0   8    "
"(    $0         !          $    &    :&%N9&QE   !    $@   %-I;75L:6YK+E!A<F%M"
"971E<@        X   \" !   !@    @    !          4    (    !P    $    !        "
"  X   !P @  !@    @    )          4    (    0 (   $    !          (   !  @   "
"0   !,   #P    , $  #@!  \"8 0  . (  $ \"             %-I;75L:6YK %!A<F%M971E"
"<@!25%=);F9O %!A<F%M4E1726YF;P!3=&]R86=E0VQA<W, 075T;P!4>7!E475A;&EF:65R  !!;"
"&EA<P!#=7-T;VU3=&]R86=E0VQA<W, 1&5F875L= !#=7-T;VU!='1R:6)U=&5S %-I;75L:6YK0U"
"-# $%T=')I8D-L87-S7U-I;75L:6YK7T1E9F%U;'0 1&5S8W)I<'1I;VX 1&]C56YI=', 36EN $U"
"A> !686QU90                        $    \"               !    !              "
" #0    X                                                          0          "
"          $          @                    (          P                    ,  "
"                  &     P    $    !    #P         (    $          (    $0    "
"$    \"    $@    $    #    $P    $    $          4    %          8    '      "
"    @    )          @    *          L    ,     0                             "
" #@   '@    &    \"     $         !0    @    !     0    $         #@   $@    "
"&    \"     T         !0    @    %     0    $         !@   !0       #= @    $"
"    !     0         .    2     8    (    #0         %    \"     4    !     0 "
"        &    %        -T\"     0    $    #          X   !(    !@    @    -   "
"       4    (    !0    $    !          8    4        W0(    !     0    (     "
"    #@   #@    &    \"     8         !0    @    !     0    $         \"0    @"
"           #P_PX    X    !@    @    &          4    (     0    $    !        "
"  D    (            \\'\\.    .     8    (    !@         %    \"     $    !  "
"   0         )    \"        ,*.[3%\"#@   #     &    \"     0         !0    @ "
"   !     @    $         $  \" %HP   .    T 0   8    (    $0         !        "
"  $    &    :&%N9&QE   !    $@   %-I;75L:6YK+E!A<F%M971E<@        X   \" !   "
"!@    @    !          4    (    !P    $    !          X   !P @  !@    @    ) "
"         4    (    0 (   $    !          (   !  @   0   !,   #P    , $  #@!  "
"\"8 0  . (  $ \"             %-I;75L:6YK %!A<F%M971E<@!25%=);F9O %!A<F%M4E172"
"6YF;P!3=&]R86=E0VQA<W, 075T;P!4>7!E475A;&EF:65R  !!;&EA<P!#=7-T;VU3=&]R86=E0V"
"QA<W, 1&5F875L= !#=7-T;VU!='1R:6)U=&5S %-I;75L:6YK0U-# $%T=')I8D-L87-S7U-I;75"
"L:6YK7T1E9F%U;'0 1&5S8W)I<'1I;VX 1&]C56YI=', 36EN $UA> !686QU90              "
"          $    \"               !    !               #0    X                 "
"                                         0                    $          @   "
"                 (          P                    ,                    &     P"
"    $    !    #P         (    $          (    $0    $    \"    $@    $    #  "
"  $P    $    $          4    %          8    '          @    )          @    "
"*          L    ,     0                              #@   '@    &    \"     $"
"         !0    @    !     0    $         #@   $@    &    \"     T         !0 "
"   @    %     0    $         !@   !0       #= @    $    !     0         .    "
"2     8    (    #0         %    \"     4    !     0         &    %        -T"
"\"     0    $    #          X   !(    !@    @    -          4    (    !0    $"
"    !          8    4        W0(    !     0    (         #@   #@    &    \"  "
"   8         !0    @    !     0    $         \"0    @           #P_PX    X   "
" !@    @    &          4    (     0    $    !          D    (            \\'"
"\\.    .     8    (    !@         %    \"     $    !     0         )    \"   "
"         $E #@   (@    &    \"     D         !0    @    !    6     $         "
" @   %@      4E-      X   !(    !@    @    \"          4    (     0    $    !"
"          4 !  '     0    <   !H86YD;&4   X         "
  }
}

⌨️ 快捷键说明

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