dsp3_1.mdl

来自「生成2KHz和8KHz的混合信号」· MDL 代码 · 共 1,263 行 · 第 1/5 页

MDL
1,263
字号
      Position		      [65, 300, 95, 330]
      Frequency		      "8000*2*pi"
      Samples		      "2.5"
      SampleTime	      "0.00005"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope1"
      Ports		      [1]
      Position		      [420, 15, 455, 65]
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag2"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      "none"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      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		      "[0...Fs/2]"
      XDisplay		      "0"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-10"
      YMax		      "20"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope2"
      Ports		      [1]
      Position		      [415, 240, 450, 290]
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag3"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      "none"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      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		      "[0...Fs/2]"
      XDisplay		      "0"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-10"
      YMax		      "20"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [5, 0; 0, 40]
      DstBlock		      "Add"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [5, 0; 0, -25]
      DstBlock		      "Add"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Add"
      SrcPort		      1
      DstBlock		      "Digital\nFilter Design"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Digital\nFilter Design"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"Spectrum\nScope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sine Wave2"
      SrcPort		      1
      Points		      [5, 0; 0, 40]
      DstBlock		      "Add1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave3"
      SrcPort		      1
      DstBlock		      "Add1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Add1"
      SrcPort		      1
      DstBlock		      "Digital\nFilter Design1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Digital\nFilter Design1"
      SrcPort		      1
      Points		      [45, 0]
      Branch {
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	DstBlock		"Spectrum\nScope2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gaussian Noise\nGenerator"
      SrcPort		      1
      Points		      [0, -55]
      DstBlock		      "Add1"
      DstPort		      3
    }
  }
}
MatData {
  NumRecords		  4
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    ,     8    (    !          %    \"                0         0          "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    ,     8    (    !          %    \"                0         0          "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    (#<   8    (     @         %    \"     $    !     0         %  0 #@    $   \":    <VED9"
    "6)A<@        !F=G1O;VP          '5N9&]M86YA9V5R    9FEL=&5R;6%N86=E<@!C=7)R96YT7V9I;'0  &9I;'1E<DUA9&5\">0  8W5R<F"
    "5N=$9S      !C=7)R96YT3F%M90   '9E<G-I;VX         ;6-O9&4           !H1FEG                      X   #@#@  !@    @ "
    "   \"          4    (     0    $    !          4 !  -     0   !H   !C=7)R96YT<&%N96P 9&5S:6=N                  X  "
    "  X    !@    @    $          4    (     0    8    !         !     &    9&5S:6=N   .    0 X   8    (     @         "
    "%    \"     $    !     0         %  0 $P    $   \"^    5&%G                     %9E<G-I;VX               !I<T1E<VE"
    "G;F5D            4F5S<&]N<V54>7!E         %-U8E1Y<&4               !$97-I9VY-971H;V0         0W5R<F5N=$9S         "
    "    %)E<W!O;G-E5'EP94-32%1A9P!3=&%T:6-297-P;VYS90      0V]M<&]N96YT<P              #@   $@    &    \"     0       "
    "  !0    @    !    $@    $         $    !(   !S:6=G=6DN9&5S:6=N<&%N96P        .    .     8    (    !@         %    "
    "\"     $    !     0         )    \"            / _#@   #     &    \"     D\"        !0    @    !     0    $       "
    "   @ !  $    .    ,     8    (    !          %    \"     $    \"     0         0  ( ;'    X    P    !@    @    $  "
    "        4    (     0    (    !         !   @!L<   #@   $     &    \"     0         !0    @    !    #     $        "
    " $     P   !F:6QT9&5S+F9I<C$     #@   ,     &    \"     (         !0    @    !     0    $         !0 $  8    !    "
    "#    '9A;'5E '5N:71S       .    .     8    (    !@         %    \"     $    !     0         )    \"           <.= "
    "#@   #     &    \"     0         !0    @    !     @    $         $  \" $AZ   .    6     8    (    !          %    "
    "\"     $    F     0         0    )@   &9D871O;VQ?9FEL=&5R7W1Y<&5?9G)A;65<9FEL=&5R9&5S:6=N   .    ,     8    (    !"
    "          %    \"     $    #     0         0  , ;V9F  X   !@\"@  !@    @    !          4    (     0    4    !     "
    "     X   \"H 0  !@    @    \"          4    (     0    $    !          4 !  )     0   \"T   !486<       !697)S:6]N"
    "  !I<TUI;D]R9 !O<F1E<@    !M;V1E           .    2     8    (    !          %    \"     $    2     0         0    $"
    "@   '-I9V=U:2YF:6QT97)O<F1E<@        X    X    !@    @    &          4    (     0    $    !          D    (       "
    "     \\#\\.    ,     8    (    \"0(        %    \"     $    !     0         \"  $  0    X    P    !@    @    $    "
    "      4    (     0    (    !         !   @ Q,   #@   #@    &    \"     0         !0    @    !    !P    $         $"
    "     <   !M:6YI;75M  X    P 0  !@    @    \"          4    (     0    $    !          4 !  .     0   \"H   !486<  "
    "            %9E<G-I;VX         1&5N<VET>49A8W1O<@         .    2     8    (    !          %    \"     $    8     0"
    "         0    &    '-I9V=U:2YR96UE>F]P=&EO;G-F<F%M90X    X    !@    @    &          4    (     0    $    !        "
    "  D    (            \\#\\.    ,     8    (    !          %    \"     $    \"     0         0  ( ,38   X   #P 0  !@"
    "    @    \"          4    (     0    $    !          4 !  *     0   #P   !486<         5F5R<VEO;@   &9R97%5;FET<P!"
    "&<P          1G!A<W,      $9S=&]P            #@   %     &    \"     0         !0    @    !    '0    $         $   "
    " !T   !F9&%D97-I9VYP86YE;\"YL<&9R97%P87-S<W1O<     X    X    !@    @    &          4    (     0    $    !         "
    " D    (            \\#\\.    ,     8    (    !          %    \"     $    #     0         0  , :TAZ  X    P    !@  "
    "  @    $          4    (     0    (    !         !   @ R,   #@   #     &    \"     0         !0    @    !     0   "
    " $         $  ! #0    .    ,     8    (    !          %    \"     $    !     0         0  $ -0    X   #X @  !@    "
    "@    \"          4    (     0    $    !          4 !  )     0   %H   !486<       !697)S:6]N  !)4E1Y<&4   !M86=5;FE"
    "T<P!!<&%S<P    !!<W1O<     !$<&%S<P    !$<W1O<     !%<&%S<P    !%<W1O<              .    2     8    (    !        "
    "  %    \"     $    4     0         0    %    &9D861E<VEG;G!A;F5L+FQP;6%G      X    X    !@    @    &          4   "
    " (     0    $    !          D    (            \\#\\.    ,     8    (    !          %    \"     $    #     0       "
    "  0  , 1DE2  X    P    !@    @    $          4    (     0    (    !         !   @!D0@  #@   #     &    \"     0   "
    "      !0    @    !     P    $         $  # # N,0 .    ,     8    (    !          %    \"     $    \"     0        "
    " 0  ( .#    X    P    !@    @    $          4    (     0    ,    !         !   P P+C$ #@   #@    &    \"     0    "
    "     !0    @    !    !0    $         $     4    P+C P,0    X    P    !@    @    $          4    (     0    ,    ! "
    "        !   P P+C$ #@   #@    &    \"     0         !0    @    !    !0    $         $     4    P+C P,0    X   !0 @"
    "  !@    @    \"          4    (     0    $    !          4 !  -     0   %L   !486<             5F5R<VEO;@       %-"
    "C86QE          !7:6YD;W<         1G5N8W1I;VY.86UE %!A<F%M971E<@    !I<TUI;D]R9&5R           .    4     8    (    !"
    "          %    \"     $    9     0         0    &0   '-I9V=U:2YF:7)W:6YO<'1I;VYS9G)A;64         #@   #@    &    \""
    "     8         !0    @    !     0    $         \"0    @             0 X    P    !@    @    $          4    (     0"
    "    ,    !         !   P!O9F8 #@   #@    &    \"     0         !0    @    !    !@    $         $     8   !+86ES97("
    "   X    P    !@    @    $          4    (               !         !          #@   #     &    \"     0         !0  "
    "  @    !     @    $         $  \" \"XU   .    ,     8    (    \"0(        %    \"     $    !     0         \"  $  "
    "0    X   #@    !@    @    \"          4    (     0    $    !          4 !  2     0   \"0   !C=7)R96YT06YA;'ES:7,  "
    " !/=F5R;&%Y961!;F%L>7-I<P      #@   $     &    \"     0         !0    @    !    \"0    $         $     D   !M86=N:"
    "71U9&4         #@   #     &    \"     0         !0    @               $         $          .    P     8    (     @"

⌨️ 快捷键说明

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