qamwnymf.mdl
上传用户:loeagle
上传日期:2013-03-02
资源大小:1236k
文件大小:160k
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [35, 0]
- Branch {
- DstBlock "x_s(t)"
- DstPort 1
- }
- Branch {
- DstBlock "Root-RCnreceive filter_"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- Points [30, 0]
- Branch {
- DstBlock "x_c(t)"
- DstPort 1
- }
- Branch {
- DstBlock "Root-RCnreceive filter"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Clock"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "Fcn1"
- DstPort 1
- }
- Branch {
- DstBlock "Fcn"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Rolloff"
- Ports []
- Position [445, 149, 563, 176]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "setrloff"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "rolloff"
- MaskDisplay "disp('Rolloff-Factor')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "Rolloff"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType SubSystem
- Name "Transmitter"
- Ports [0, 4]
- Position [190, 100, 265, 190]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "Transmitter"
- Location [6, 314, 1018, 664]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "16 QAM"
- Ports [2, 1]
- Position [175, 140, 230, 195]
- AncestorBlock "simulink3/Functionsn& Tables/Direct Look-U"
- "pnTable (n-D)"
- FunctionName "sfun_nddirectlook"
- Parameters "numInputs,mxTable,clipFlag,tabIsInput,numTD"
- "ims"
- MaskType "LookupNDDirect"
- MaskDescription "Table member selection. Inputs are zero-ba"
- "sed indices into the table, e.g., an input of 3 returns the fourth element in"
- " that dimension. Block can also be used to select a column or 2-D matrix out"
- " of the table."
- MaskPromptString "Number of table dimensions: |Explic"
- "it number of table dimensions:|Inputs select this object from table:|Make tab"
- "le an input|Table data:|Action for out of range input:"
- MaskStyleString "popup(1|2|3|4|More...),edit,popup(Element|C"
- "olumn|2-D Matrix),checkbox,edit,popup(None|Warning|Error)"
- MaskTunableValueString "off,on,off,off,on,on"
- MaskCallbackString "nddirectico('dialog')|||nddirectico('dialog"
- "')||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,off,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskVariables "maskTabDims=@1;explicitNumDims=@2;outDims=@"
- "3;tabIsInput=@4;mxTable=@5;clipFlag=@6;"
- MaskInitialization "if tabIsInput == 1n tWhat = ' T';n yT ="
- " 1/(3+maskTabDims-outDims);nelsen tWhat = ' ';n yT = 0;nendnif maskTab"
- "Dims >= 5n numTDims = explicitNumDims;nelsen numTDims = maskTabDims;nen"
- "dnnumInputs = numTDims - (outDims-1);nif strcmp(get_param(bdroot(gcb),'Blo"
- "ckDiagramType'),'library')n dimsChar = 'n';nelsen dimsChar = sprintf('%d"
- "',numTDims);nendn[x,y] = nddirectico('plotdata', numTDims, tabIsInput, outD"
- "ims);nxp = x((end-3):end); yp = y((end-3):end);nx = x(1:(end-4)); y = y(1:("
- "end-4));n"
- MaskDisplay "text(0.5,0.9, sprintf(' %c-D T[k]',dimsChar"
- "), 'HorizontalAlignment','center')nplot(x,y)npatch(xp, yp)ntext(0.03,yT,tW"
- "hat)n"
- MaskSelfModifiable on
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "normalized"
- MaskValueString "2|1|Element|off|[0 1 2 3; 4 5 6 7; 8 9 10 1"
- "1; 12 13 14 15]|Warning"
- }
- Block {
- BlockType SubSystem
- Name "4-ASK"
- Ports [1, 1]
- Position [210, 74, 290, 116]
- TreatAsAtomicUnit off
- MaskType "M-ASK mapping"
- MaskDescription "Map a digital symbol onto an analognsignal"
- " in the range [-1, 1] using M-arynamplitude shift keying modulation mapping."
- MaskHelp "This block maps an input digit signal onto "
- "a signal in the range [-1, 1]. The coded signal can be modulated using analog"
- "\nmodulation blocks. Input digits are in the range [0, M-1], where M is the "
- "M-ary number. The input symbol interval can be a two-element vector with the "
- "second element being offset. The default value offset is 0. Use the MODMAP fu"
- "nction to see the constellation."
- MaskPromptString "M-ary number (input integers in range [0, M"
- "-1]):|Input symbol interval and offset (sec):"
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskVariables "N=@1;td=@2;"
- MaskInitialization "Ac=1;Kc=Ac*2/(N-1);"
- MaskDisplay "disp('MASK\nmapping')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "4|1"
- System {
- Name "4-ASK"
- Location [148, 182, 646, 482]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [60, 60, 80, 80]
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [200, 55, 240, 85]
- Gain "Kc"
- }
- Block {
- BlockType Constant
- Name "Gain diff"
- Position [200, 126, 235, 154]
- Value "Ac"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [270, 93, 290, 117]
- Inputs "+-"
- }
- Block {
- BlockType ZeroOrderHold
- Name "Zero-OrdernHold"
- Position [120, 54, 155, 86]
- SampleTime "td"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [335, 95, 355, 115]
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- Points [5, 0; 0, 30]
- DstBlock "Sum1"
- DstPort 1
- }
- Line {
- SrcBlock "Gain diff"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Zero-OrdernHold"
- DstPort 1
- }
- Line {
- SrcBlock "Zero-OrdernHold"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "4-ASK1"
- Ports [1, 1]
- Position [210, 234, 290, 276]
- TreatAsAtomicUnit off
- MaskType "M-ASK mapping"
- MaskDescription "Map a digital symbol onto an analognsignal"
- " in the range [-1, 1] using M-arynamplitude shift keying modulation mapping."
- MaskHelp "This block maps an input digit signal onto "
- "a signal in the range [-1, 1]. The coded signal can be modulated using analog"
- "\nmodulation blocks. Input digits are in the range [0, M-1], where M is the "
- "M-ary number. The input symbol interval can be a two-element vector with the "
- "second element being offset. The default value offset is 0. Use the MODMAP fu"
- "nction to see the constellation."
- MaskPromptString "M-ary number (input integers in range [0, M"
- "-1]):|Input symbol interval and offset (sec):"
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskVariables "N=@1;td=@2;"
- MaskInitialization "Ac=1;Kc=Ac*2/(N-1);"
- MaskDisplay "disp('MASK\nmapping')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "4|1"
- System {
- Name "4-ASK1"
- Location [148, 182, 646, 482]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [60, 60, 80, 80]
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [200, 55, 240, 85]
- Gain "Kc"
- }
- Block {
- BlockType Constant
- Name "Gain diff"
- Position [200, 126, 235, 154]
- Value "Ac"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [270, 93, 290, 117]
- Inputs "+-"
- }
- Block {
- BlockType ZeroOrderHold
- Name "Zero-OrdernHold"
- Position [120, 54, 155, 86]
- SampleTime "td"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [335, 95, 355, 115]
- }
- Line {
- SrcBlock "Zero-OrdernHold"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Zero-OrdernHold"
- DstPort 1
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "Gain diff"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- Points [5, 0; 0, 30]
- DstBlock "Sum1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "4-ary source"
- Ports [0, 1]
- Position [25, 73, 85, 117]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Read from workspace"
- MaskDescription "Read from a workspace variable atnsampling"
- " time point."
- MaskHelp "This block reads from a workspace variable "
- "at a given sample time. The column number is the block output vector length. "
- "When the simulation reaches the end of the variable (eof), the block will cyc"
- "lically output from the first row of the variable or output zeros based on th"
- "e repeat flag entree."
- MaskPromptString "Variable (column_number=block_output_length"
- "):|Data output sample time (sec):|Repeat flag (1: repeat read, 0: output zero"
- "s after eof).|Initial output:"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskInitialization "var=@1;td=@2;ts=td(1);if (length(td)>=2),of"
- "f=td(2);else off=0;end;cyc=@3;ini=@4;[x,y]=srcsicon(7);"
- MaskDisplay "plot(0,0,100,100,x,y);disp('Rd wksp')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "randint(2000,1,4)|1|1|1"
- System {
- Name "4-ary source"
- Location [355, 528, 737, 675]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "Message source"
- Ports [1, 1]
- Position [180, 53, 255, 97]
- BackgroundColor "yellow"
- FunctionName "trigwksp"
- Parameters "var,thd,cyclFlag,ini"
- MaskType "Read from workspace"
- MaskDescription "The raising edge of input pulse trigger"
- " the block output the next row from the workspace variable."
- MaskHelp "This block reads the data from a worksp"
- "ace variable. The output is refreshed at the raising edge of the input pulse."
- MaskPromptString "Read the variable:|Threshold for the in"
- "put pulse:|Cyclic read variable (1) or amend zeros (0).|Output before first t"
- "rigger:"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskInitialization "var=@1;thd=@2;cyclFlag=@3;ini=@4;"
- MaskDisplay "disp('Triggered\nread')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "var|.1|cyc|ini"
- }
- Block {
- BlockType SubSystem
- Name "Pulses deividensame sample time1"
- Ports [0, 1]
- Position [50, 56, 110, 94]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse generator"
- MaskDescription "Vector pulses with sample rate of each "
- "pulse as Sample_time ./Divider. "
- MaskHelp "This block generator a vector pulses. T"
- "he output length is the same as the vector defined in "Divider". The ith el"
- "ement of the output has the sample time Sample_time/Divider(i). All elements "
- "in "Divider" must be integers."
- MaskPromptString "Sample time (scalar, sec):|Divider (int"
- "eger vector):|Offset (have same dimension as Divider:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskInitialization "samp_time=@1;out_divid=@2;offset=@3;"
- MaskDisplay "disp('Vector\nPulse')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "ts|1|off"
- System {
- Name "Pulses deividensame sample time1"
- Location [55, 192, 283, 286]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "S-function1"
- Ports [0, 1]
- Position [40, 31, 105, 59]
- FunctionName "homopuls"
- Parameters "samp_time, out_divid, offset"
- }
- Block {
- BlockType Outport
- Name "Outport"
- Position [160, 35, 180, 55]
- }
- Line {
- SrcBlock "S-function1"
- SrcPort 1
- DstBlock "Outport"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [295, 65, 315, 85]
- }
- Line {
- SrcBlock "Pulses deividensame sample time1"
- SrcPort 1
- DstBlock "Message source"
- DstPort 1
- }
- Line {
- SrcBlock "Message source"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "4-ary source_"
- Ports [0, 1]
- Position [25, 233, 85, 277]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Read from workspace"
- MaskDescription "Read from a workspace variable atnsampling"
- " time point."
- MaskHelp "This block reads from a workspace variable "
- "at a given sample time. The column number is the block output vector length. "
- "When the simulation reaches the end of the variable (eof), the block will cyc"
- "lically output from the first row of the variable or output zeros based on th"
- "e repeat flag entree."
- MaskPromptString "Variable (column_number=block_output_length"
- "):|Data output sample time (sec):|Repeat flag (1: repeat read, 0: output zero"
- "s after eof).|Initial output:"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskInitialization "var=@1;td=@2;ts=td(1);if (length(td)>=2),of"
- "f=td(2);else off=0;end;cyc=@3;ini=@4;[x,y]=srcsicon(7);"
- MaskDisplay "plot(0,0,100,100,x,y);disp('Rd wksp')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "randint(2000,1,4)|1|1|1"
- System {
- Name "4-ary source_"
- Location [355, 528, 737, 675]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "Message source"
- Ports [1, 1]
- Position [180, 53, 255, 97]
- BackgroundColor "yellow"
- FunctionName "trigwksp"
- Parameters "var,thd,cyclFlag,ini"
- MaskType "Read from workspace"
- MaskDescription "The raising edge of input pulse trigger"
- " the block output the next row from the workspace variable."
- MaskHelp "This block reads the data from a worksp"
- "ace variable. The output is refreshed at the raising edge of the input pulse."
- MaskPromptString "Read the variable:|Threshold for the in"
- "put pulse:|Cyclic read variable (1) or amend zeros (0).|Output before first t"
- "rigger:"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskInitialization "var=@1;thd=@2;cyclFlag=@3;ini=@4;"
- MaskDisplay "disp('Triggered\nread')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "var|.1|cyc|ini"
- }
- Block {
- BlockType SubSystem
- Name "Pulses deividensame sample time1"
- Ports [0, 1]
- Position [50, 56, 110, 94]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse generator"
- MaskDescription "Vector pulses with sample rate of each "
- "pulse as Sample_time ./Divider. "
- MaskHelp "This block generator a vector pulses. T"
- "he output length is the same as the vector defined in "Divider". The ith el"
- "ement of the output has the sample time Sample_time/Divider(i). All elements "
- "in "Divider" must be integers."
- MaskPromptString "Sample time (scalar, sec):|Divider (int"
- "eger vector):|Offset (have same dimension as Divider:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskInitialization "samp_time=@1;out_divid=@2;offset=@3;"
- MaskDisplay "disp('Vector\nPulse')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "ts|1|off"
- System {
- Name "Pulses deividensame sample time1"
- Location [55, 192, 283, 286]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "S-function1"
- Ports [0, 1]
- Position [40, 31, 105, 59]
- FunctionName "homopuls"
- Parameters "samp_time, out_divid, offset"
- }
- Block {
- BlockType Outport
- Name "Outport"
- Position [160, 35, 180, 55]
- }
- Line {
- SrcBlock "S-function1"
- SrcPort 1
- DstBlock "Outport"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [295, 65, 315, 85]
- }
- Line {
- SrcBlock "Pulses deividensame sample time1"
- SrcPort 1
- DstBlock "Message source"
- DstPort 1
- }
- Line {
- SrcBlock "Message source"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Clock
- Name "Clock"
- Position [660, 160, 680, 180]
- Decimation "10"
- }
- Block {
- BlockType Fcn
- Name "Fcn1"
- Position [720, 135, 815, 165]
- ShowName off
- Expr "cos(4*pi*u)"
- }
- Block {
- BlockType Fcn
- Name "Fcn2"
- Position [720, 180, 815, 210]
- ShowName off
- Expr "sin(4*pi*u)"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [520, 82, 545, 108]
- ShowName off
- Gain "4"
- }
- Block {
- BlockType Gain
- Name "Gain1"
- Position [520, 242, 545, 268]
- ShowName off
- Gain "4"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [875, 88, 905, 112]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [875, 238, 905, 262]
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "Rolloff"
- Ports []
- Position [405, 19, 523, 46]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "setrloff"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "rolloff"
- MaskDisplay "disp('Rolloff-Factor')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "Rolloff"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType SubSystem
- Name "Root-RCntransmit filter"
- Ports [1, 1]
- Position [420, 73, 500, 117]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "R-C filter"
- MaskDescription "Design a raised cosine filter and use it to"
- " filter the input signal."
- MaskHelp "This block designs a raised cosine filter u"
- "sing the specified parameter. The filter is used to filter the input signal. "
- "You can optionally use the sinc filter in the filtering computation."
- MaskPromptString "Symbol interval (sec):|Computation sampling"
- " time (sec):|Filter rolloff factor:|Delay step (integer to multiply symbol in"
- "terval):|Filter type (FIR or IIR) / (Normal or Sqrt):|With or without sinc fi"
- "lter (1 or 0, suggest 1):"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "td=@1;if length(td)>1,off=td(2);td=td(1);el"
- "se,off=0;end;ts=@2;R=@3;delay=@4;fil=@5;[num,den]=rcosine(1/td(1),1/ts(1),fil"
- ",R,delay);x=@6/2;"
- MaskDisplay "disp('R-C\nfilter')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1|.05|0.5|6|'FIR/Sqrt'|1"
- System {
- Name "Root-RCntransmit filter"
- Location [131, 545, 589, 761]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [35, 30, 55, 50]
- }
- Block {
- BlockType DiscreteFilter
- Name "Filter"
- Position [255, 31, 310, 69]
- Numerator "num"
- Denominator "den"
- SampleTime "ts"
- }
- Block {
- BlockType SubSystem
- Name "Memory Impulse"
- Ports [2, 1]
- Position [155, 30, 225, 70]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Impulse"
- MaskDescription "1/sinc filter:"
- MaskHelp "When the threshold is greater than zero"
- ", this block outputs an impulse signal, which begins at the raising edge of t"
- "he second input and lasts the holding time. The impulse holds a constant ampl"
- "itude, which equals the amplitude of the first input at the begining of the i"
- "mpulse. A clock raising edge will trigger next impulse. When the threshold is"
- " less or equal to zero, this block faithfully outputs the first input."
- MaskPromptString "Holding time:|Threshold for clock pulse"
- ": "
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskInitialization "ts=@1;thr=@2;x=thr>0;"
- MaskDisplay "disp('1/sinc')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "ts|x"
- System {
- Name "Memory Impulse"
- Location [541, 520, 939, 745]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [35, 185, 55, 205]
- }
- Block {
- BlockType Inport
- Name "in_2"
- Position [25, 30, 45, 50]
- Port "2"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [210, 155, 230, 175]
- Value "x"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [155, 90, 180, 110]
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [295, 124, 320, 156]
- Threshold ".5"
- }
- Block {
- BlockType ZeroOrderHold
- Name "Zero-OrdernHold"
- Position [205, 84, 240, 116]
- SampleTime "ts"
- }
- Block {
- BlockType SubSystem
- Name "discretenRising edgendetector"
- Ports [1, 1]
- Position [65, 26, 120, 54]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Edge Detection"
- MaskDescription "Rising edge detection:"
- MaskHelp "When the input signal rising edge p"
- "assed the given shreshold, this block outputs one, otherwise outputs zero."
- MaskPromptString "Threshold:|Sampling time:"
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskInitialization "thld=@1;ts=@2;"
- MaskDisplay "disp('Edge\nDetector')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "thr|ts"
- System {
- Name "discretenRising edgendetector"
- Location [419, 521, 808, 713]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [10, 15, 30, 35]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator"
- Position [135, 18, 165, 42]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator1"
- Position [200, 88, 230, 112]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator2"
- Position [265, 23, 295, 47]
- Operator ">"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [120, 87, 170, 103]
- SampleTime "ts"
- }
- Block {
- BlockType Constant
- Name "one1"
- Position [30, 135, 60, 155]
- Value "thld"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [340, 25, 360, 45]
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, 70]
- DstBlock "Unit Delay"
- DstPort 1
- }
- Branch {
- DstBlock "RelationalnOperator"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- DstBlock "RelationalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "one1"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [80, 0; 0, -40]
- DstBlock "RelationalnOperator1"
- DstPort 2
- }
- Branch {
- Points [0, -110]
- DstBlock "RelationalnOperator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "RelationalnOperator"
- SrcPort 1
- DstBlock "RelationalnOperator2"
- DstPort 1
- }
- Line {
- SrcBlock "RelationalnOperator1"
- SrcPort 1
- Points [5, 0; 0, -60]
- DstBlock "RelationalnOperator2"
- DstPort 2
- }
- Line {
- SrcBlock "RelationalnOperator2"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [355, 130, 375, 150]
- }
- Line {
- SrcBlock "in_2"
- SrcPort 1
- DstBlock "discretenRising edgendetector"
- DstPort 1
- }
- Line {
- SrcBlock "discretenRising edgendetector"
- SrcPort 1
- Points [5, 0; 0, 55]
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [15, 0; 0, -25]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [0, -90]
- DstBlock "Product"
- DstPort 2
- }
- Branch {
- Points [185, 0]
- DstBlock "Switch"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Zero-OrdernHold"
- DstPort 1
- }
- Line {
- SrcBlock "Zero-OrdernHold"
- SrcPort 1
- Points [15, 0; 0, 30]
- DstBlock "Switch"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Pulses deividensame sample time1"
- Ports [0, 1]
- Position [35, 71, 95, 109]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse generator"
- MaskDescription "Vector pulses with sample rate of each "
- "pulse as Sample_time ./Divider. "
- MaskHelp "This block generator a vector pulses. T"
- "he output length is the same as the vector defined in "Divider". The ith el"
- "ement of the output has the sample time Sample_time/Divider(i). All elements "
- "in "Divider" must be integers."
- MaskPromptString "Sample time (scalar, sec):|Divider (int"
- "eger vector):|Offset (have same dimension as Divider:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskInitialization "samp_time=@1;out_divid=@2;offset=@3;"
- MaskDisplay "disp('Vector\nPulse')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "td|1|off"
- System {
- Name "Pulses deividensame sample time1"
- Location [55, 192, 283, 286]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "S-function1"
- Ports [0, 1]
- Position [40, 31, 105, 59]
- FunctionName "homopuls"
- Parameters "samp_time, out_divid, offset"
- }
- Block {
- BlockType Outport
- Name "Outport"
- Position [160, 35, 180, 55]
- }
- Line {
- SrcBlock "S-function1"
- SrcPort 1
- DstBlock "Outport"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [330, 40, 350, 60]
- }
- Line {
- SrcBlock "Filter"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Memory Impulse"
- DstPort 1
- }
- Line {
- SrcBlock "Memory Impulse"
- SrcPort 1
- DstBlock "Filter"
- DstPort 1
- }
- Line {
- SrcBlock "Pulses deividensame sample time1"
- SrcPort 1
- Points [15, 0; 0, -30]
- DstBlock "Memory Impulse"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Root-RCntransmit filter_"
- Ports [1, 1]
- Position [420, 233, 500, 277]
- NamePlacement "alternate"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "R-C filter"
- MaskDescription "Design a raised cosine filter and use it to"
- " filter the input signal."
- MaskHelp "This block designs a raised cosine filter u"
- "sing the specified parameter. The filter is used to filter the input signal. "
- "You can optionally use the sinc filter in the filtering computation."
- MaskPromptString "Symbol interval (sec):|Computation sampling"
- " time (sec):|Filter rolloff factor:|Delay step (integer to multiply symbol in"
- "terval):|Filter type (FIR or IIR) / (Normal or Sqrt):|With or without sinc fi"
- "lter (1 or 0, suggest 1):"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "td=@1;if length(td)>1,off=td(2);td=td(1);el"
- "se,off=0;end;ts=@2;R=@3;delay=@4;fil=@5;[num,den]=rcosine(1/td(1),1/ts(1),fil"
- ",R,delay);x=@6/2;"
- MaskDisplay "disp('R-C\nfilter')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1|.05|0.5|6|'FIR/Sqrt'|1"
- System {
- Name "Root-RCntransmit filter_"
- Location [131, 545, 589, 761]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [35, 30, 55, 50]
- }
- Block {
- BlockType DiscreteFilter
- Name "Filter"
- Position [255, 31, 310, 69]
- Numerator "num"
- Denominator "den"
- SampleTime "ts"
- }
- Block {
- BlockType SubSystem
- Name "Memory Impulse"
- Ports [2, 1]
- Position [155, 30, 225, 70]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Impulse"
- MaskDescription "1/sinc filter:"
- MaskHelp "When the threshold is greater than zero"
- ", this block outputs an impulse signal, which begins at the raising edge of t"
- "he second input and lasts the holding time. The impulse holds a constant ampl"
- "itude, which equals the amplitude of the first input at the begining of the i"
- "mpulse. A clock raising edge will trigger next impulse. When the threshold is"
- " less or equal to zero, this block faithfully outputs the first input."
- MaskPromptString "Holding time:|Threshold for clock pulse"
- ": "
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskInitialization "ts=@1;thr=@2;x=thr>0;"
- MaskDisplay "disp('1/sinc')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "ts|x"
- System {
- Name "Memory Impulse"
- Location [541, 520, 939, 745]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [35, 185, 55, 205]
- }
- Block {
- BlockType Inport
- Name "in_2"
- Position [25, 30, 45, 50]
- Port "2"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [210, 155, 230, 175]
- Value "x"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [155, 90, 180, 110]
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [295, 124, 320, 156]
- Threshold ".5"
- }
- Block {
- BlockType ZeroOrderHold
- Name "Zero-OrdernHold"
- Position [205, 84, 240, 116]
- SampleTime "ts"
- }
- Block {
- BlockType SubSystem
- Name "discretenRising edgendetector"
- Ports [1, 1]
- Position [65, 26, 120, 54]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Edge Detection"
- MaskDescription "Rising edge detection:"
- MaskHelp "When the input signal rising edge p"
- "assed the given shreshold, this block outputs one, otherwise outputs zero."
- MaskPromptString "Threshold:|Sampling time:"
- MaskStyleString "edit,edit"
- MaskTunableValueString "on,on"
- MaskCallbackString "|"
- MaskEnableString "on,on"
- MaskVisibilityString "on,on"
- MaskToolTipString "on,on"
- MaskVarAliasString ","
- MaskInitialization "thld=@1;ts=@2;"
- MaskDisplay "disp('Edge\nDetector')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "thr|ts"
- System {
- Name "discretenRising edgendetector"
- Location [419, 521, 808, 713]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [10, 15, 30, 35]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator"
- Position [135, 18, 165, 42]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator1"
- Position [200, 88, 230, 112]
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator2"
- Position [265, 23, 295, 47]
- Operator ">"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [120, 87, 170, 103]
- SampleTime "ts"
- }
- Block {
- BlockType Constant
- Name "one1"
- Position [30, 135, 60, 155]
- Value "thld"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [340, 25, 360, 45]
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, 70]
- DstBlock "Unit Delay"
- DstPort 1
- }
- Branch {
- DstBlock "RelationalnOperator"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- DstBlock "RelationalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "one1"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [80, 0; 0, -40]
- DstBlock "RelationalnOperator1"
- DstPort 2
- }
- Branch {
- Points [0, -110]
- DstBlock "RelationalnOperator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "RelationalnOperator"
- SrcPort 1
- DstBlock "RelationalnOperator2"
- DstPort 1
- }
- Line {
- SrcBlock "RelationalnOperator1"
- SrcPort 1
- Points [5, 0; 0, -60]
- DstBlock "RelationalnOperator2"
- DstPort 2
- }
- Line {
- SrcBlock "RelationalnOperator2"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [355, 130, 375, 150]
- }
- Line {
- SrcBlock "in_2"
- SrcPort 1
- DstBlock "discretenRising edgendetector"
- DstPort 1
- }
- Line {
- SrcBlock "discretenRising edgendetector"
- SrcPort 1
- Points [5, 0; 0, 55]
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [15, 0; 0, -25]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [0, -90]
- DstBlock "Product"
- DstPort 2
- }
- Branch {
- Points [185, 0]
- DstBlock "Switch"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Zero-OrdernHold"
- DstPort 1
- }
- Line {
- SrcBlock "Zero-OrdernHold"
- SrcPort 1
- Points [15, 0; 0, 30]
- DstBlock "Switch"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Pulses deividensame sample time1"
- Ports [0, 1]
- Position [35, 71, 95, 109]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse generator"
- MaskDescription "Vector pulses with sample rate of each "
- "pulse as Sample_time ./Divider. "
- MaskHelp "This block generator a vector pulses. T"
- "he output length is the same as the vector defined in "Divider". The ith el"
- "ement of the output has the sample time Sample_time/Divider(i). All elements "
- "in "Divider" must be integers."
- MaskPromptString "Sample time (scalar, sec):|Divider (int"
- "eger vector):|Offset (have same dimension as Divider:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskInitialization "samp_time=@1;out_divid=@2;offset=@3;"
- MaskDisplay "disp('Vector\nPulse')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "td|1|off"
- System {
- Name "Pulses deividensame sample time1"
- Location [55, 192, 283, 286]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType "S-Function"
- Name "S-function1"
- Ports [0, 1]
- Position [40, 31, 105, 59]
- FunctionName "homopuls"
- Parameters "samp_time, out_divid, offset"
- }
- Block {
- BlockType Outport
- Name "Outport"
- Position [160, 35, 180, 55]
- }
- Line {
- SrcBlock "S-function1"
- SrcPort 1
- DstBlock "Outport"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [330, 40, 350, 60]
- }
- Line {
- SrcBlock "Filter"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Memory Impulse"
- DstPort 1
- }
- Line {
- SrcBlock "Memory Impulse"
- SrcPort 1
- DstBlock "Filter"
- DstPort 1
- }
- Line {
- SrcBlock "Pulses deividensame sample time1"
- SrcPort 1
- Points [15, 0; 0, -30]
- DstBlock "Memory Impulse"
- DstPort 2
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [985, 160, 1005, 180]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Scope
- Name "a_c(t)"
- Ports [1]
- Position [325, 15, 355, 45]
- Orientation "up"
- Location [359, 340, 1280, 440]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "a_s(t)"
- Ports [1]
- Position [325, 170, 355, 200]
- Orientation "up"
- Location [359, 633, 1280, 733]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "closetransmitter"
- Ports []
- Position [930, 25, 1065, 51]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "closetra"
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "close"
- MaskDisplay "disp('Close transmitter')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "closetransmitter"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType Scope
- Name "s_c(t)"
- Ports [1]
- Position [545, 15, 575, 45]
- Orientation "up"
- Location [359, 438, 1280, 538]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "s_s(t)"
- Ports [1]
- Position [550, 170, 580, 200]
- Orientation "up"
- Location [359, 731, 1280, 831]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "transmitterndiagrams"
- Ports [2]
- Position [675, 15, 730, 55]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "2D-Diagrams"
- MaskDescription "Eye pattern, signal space trajectory and sc"
- "atter plot"
- MaskPromptString "Plot start time:|Samples per time slot (2*T"
- "):|Decision offset:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskVariables "starttime=@1;anzahl=@2;offset=@3;"
- MaskInitialization " [x, y] = srcsicon(10);"
- MaskDisplay "plot(0,0,100,100,x,y)"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "6|40|0"
- System {
- Name "transmitterndiagrams"
- Location [453, 423, 865, 716]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Inphase"
- Position [30, 20, 50, 40]
- }
- Block {
- BlockType Inport
- Name "Quadratur"
- Position [30, 80, 50, 100]
- Port "2"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [90, 125, 110, 145]
- Orientation "up"
- ShowName off
- Value "Inf"
- }
- Block {
- BlockType Constant
- Name "Constant0"
- Position [190, 125, 210, 145]
- Orientation "up"
- ShowName off
- Value "0"
- }
- Block {
- BlockType SubSystem
- Name "Inphase eye patternntransmitter"
- Ports [1]
- Position [305, 17, 360, 53]
- CopyFcn "eyesampl([],[],[],'CopyBlock')"
- DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
- LoadFcn "eyesampl([],[],[],'LoadBlock')"
- StartFcn "eyesampl([],[],[],'Start')"
- StopFcn "eyesampl([],[],[],'Stop')"
- NameChangeFcn "eyesampl([],[],[],'NameChange')"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Eye-diagram/scatter plot"
- MaskDescription "Produce eye-pattern diagram and/or scat"
- "ter plot."
- MaskHelp "This plot opens one, or two plots by as"
- "signing the line type parameters. The scatter plot point is selected by the d"
- "ecision point in the first parameter entry. A decision line is drawn in the e"
- "ye-pattern diagram. The plot is updated at the plot update sample time point."
- MaskPromptString "[Symbol interval, plot offset, decision"
- " point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
- "r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
- "pe for scatter plot (0 for no plot):|Plot update sample time:"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
- "3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
- MaskDisplay "plot(0,0,100,100,x,y);"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "[2 0 1+offset]|[-1.5 1.5]|0|'w-/r-'|0|2"
- "/anzahl"
- System {
- Name "Inphase eye patternntransmitter"
- Location [121, 409, 416, 595]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [75, 80, 95, 100]
- }
- Block {
- BlockType "S-Function"
- Name "Plot1"
- Ports [1]
- Position [130, 70, 200, 110]
- FunctionName "eyesampl"
- Parameters "time_range, boundary, kept_length, "
- "eye_line, scatter_line, two_d_line"
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Plot1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [230, 16, 265, 49]
- Inputs "2"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [2, 1]
- Position [230, 76, 265, 109]
- Inputs "2"
- }
- Block {
- BlockType Mux
- Name "Mux2"
- Ports [2, 1]
- Position [230, 146, 265, 179]
- Inputs "2"
- }
- Block {
- BlockType Mux
- Name "Mux3"
- Ports [2, 1]
- Position [230, 211, 265, 244]
- Inputs "2"
- }
- Block {
- BlockType SubSystem
- Name "Quadrature eye patternntransmitter"
- Ports [1]
- Position [305, 77, 360, 113]
- CopyFcn "eyesampl([],[],[],'CopyBlock')"
- DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
- LoadFcn "eyesampl([],[],[],'LoadBlock')"
- StartFcn "eyesampl([],[],[],'Start')"
- StopFcn "eyesampl([],[],[],'Stop')"
- NameChangeFcn "eyesampl([],[],[],'NameChange')"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Eye-diagram/scatter plot"
- MaskDescription "Produce eye-pattern diagram and/or scat"
- "ter plot."
- MaskHelp "This plot opens one, or two plots by as"
- "signing the line type parameters. The scatter plot point is selected by the d"
- "ecision point in the first parameter entry. A decision line is drawn in the e"
- "ye-pattern diagram. The plot is updated at the plot update sample time point."
- MaskPromptString "[Symbol interval, plot offset, decision"
- " point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
- "r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
- "pe for scatter plot (0 for no plot):|Plot update sample time:"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
- "3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
- MaskDisplay "plot(0,0,100,100,x,y);"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "[2 0 1+offset]|[-1.5 1.5]|0|'w-/r-'|0|2"
- "/anzahl"
- System {
- Name "Quadrature eye patternntransmitter"
- Location [121, 409, 416, 595]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [75, 80, 95, 100]
- }
- Block {
- BlockType "S-Function"
- Name "Plot1"
- Ports [1]
- Position [130, 70, 200, 110]
- FunctionName "eyesampl"
- Parameters "time_range, boundary, kept_length, "
- "eye_line, scatter_line, two_d_line"
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Plot1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Scatter plotntransmitter"
- Ports [1]
- Position [305, 213, 360, 247]
- CopyFcn "eyesampl([],[],[],'CopyBlock')"
- DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
- LoadFcn "eyesampl([],[],[],'LoadBlock')"
- StartFcn "eyesampl([],[],[],'Start')"
- StopFcn "eyesampl([],[],[],'Stop')"
- NameChangeFcn "eyesampl([],[],[],'NameChange')"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Eye-diagram/scatter plot"
- MaskDescription "Produce eye-pattern diagram and/or scat"
- "ter plot."
- MaskHelp "This plot opens one, or two plots by as"
- "signing the line type parameters. The scatter plot point is selected by the d"
- "ecision point in the first parameter entry. A decision line is drawn in the e"
- "ye-pattern diagram. The plot is updated at the plot update sample time point."
- MaskPromptString "[Symbol interval, plot offset, decision"
- " point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
- "r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
- "pe for scatter plot (0 for no plot):|Plot update sample time:"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
- "3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
- MaskDisplay "plot(0,0,100,100,x,y);"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "[1 .5 .999]|[-1.5 1.5]|0|0|'b.'|[.5 off"
- "set]"
- System {
- Name "Scatter plotntransmitter"
- Location [165, 242, 460, 428]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [75, 80, 95, 100]
- }
- Block {
- BlockType "S-Function"
- Name "Plot1"
- Ports [1]
- Position [130, 70, 200, 110]
- FunctionName "eyesampl"
- Parameters "time_range, boundary, kept_length, "
- "eye_line, scatter_line, two_d_line"
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Plot1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Step
- Name "Step input"
- Position [30, 125, 50, 145]
- Time "starttime"
- SampleTime "1"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [130, 24, 155, 56]
- Threshold "1"
- }
- Block {
- BlockType Switch
- Name "Switch1"
- Position [130, 84, 155, 116]
- Threshold "1"
- }
- Block {
- BlockType SubSystem
- Name "Trajectoryntransmitter"
- Ports [1]
- Position [305, 157, 360, 193]
- CopyFcn "eyediasi([],[],[],'CopyBlock')"
- DeleteFcn "eyediasi([],[],[],'DeleteBlock')"
- LoadFcn "eyediasi([],[],[],'LoadBlock')"
- StartFcn "eyediasi([],[],[],'Start')"
- StopFcn "eyediasi([],[],[],'Stop')"
- NameChangeFcn "eyediasi([],[],[],'NameChange')"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Eye-diagram/scatter plot"
- MaskDescription "Produce eye-pattern diagram/scatternpl"
- "ot/x-y plot with the rising edge of the second input as the decision line."
- MaskHelp "This plot opens one, two, or three plot"
- "s by assigning the line type parameters. The scatter plot point is selected b"
- "y the rising edge of a trigger signal. A decision line is drawn at the rising"
- " edge of the trigger signal."
- MaskPromptString "Eye-pattern plot time frame:|Lower and "
- "upper bound of in-coming signal (1x2 vector):|Number of saved traces:|Line-ty"
- "pe for eye-pattern diagram (0 for no plot):|Line-type for scatter plot (0 for"
- " no plot):|Line-type for x-y plot (0 for no plot):"
- MaskStyleString "edit,edit,edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on,on,on"
- MaskCallbackString "|||||"
- MaskEnableString "on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on"
- MaskVarAliasString ",,,,,"
- MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
- "3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);[v,w]=trigicon"
- "(0,25,get_param(gcb,'orientation'),2);"
- MaskDisplay "plot(0,0,100,100,x,y,v,w);"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "[2 0 1]|[-1.5 1.5]|0|0|0|'g-'"
- System {
- Name "Trajectoryntransmitter"
- Location [135, 153, 430, 339]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "in_1"
- Position [15, 55, 35, 75]
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [15, 110, 45, 140]
- Value "0"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [65, 70, 100, 105]
- Inputs "2"
- }
- Block {
- BlockType "S-Function"
- Name "Plot1"
- Ports [1]
- Position [130, 70, 200, 110]
- FunctionName "eyediasi"
- Parameters "time_range, boundary, kept_length, "
- "eye_line, scatter_line, two_d_line"
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Plot1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [5, 0; 0, 15]
- DstBlock "Mux"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- Points [20, 0]
- DstBlock "Trajectoryntransmitter"
- DstPort 1
- }
- Line {
- SrcBlock "Mux3"
- SrcPort 1
- DstBlock "Scatter plotntransmitter"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Inphase eye patternntransmitter"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Quadrature eye patternntransmitter"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, -10]
- Branch {
- Points [0, -60]
- DstBlock "Switch"
- DstPort 3
- }
- Branch {
- DstBlock "Switch1"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Step input"
- SrcPort 1
- Points [20, 0; 0, -35]
- Branch {
- Points [0, -60]
- DstBlock "Switch"
- DstPort 2
- }
- Branch {
- DstBlock "Switch1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Inphase"
- SrcPort 1
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Quadratur"
- SrcPort 1
- DstBlock "Switch1"
- DstPort 1
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- Points [10, 0; 0, 5]
- Branch {
- Points [0, 110]
- Branch {
- Points [0, 65]
- DstBlock "Mux3"
- DstPort 1
- }
- Branch {
- DstBlock "Mux2"
- DstPort 1
- }
- }
- Branch {
- Points [0, -5]
- DstBlock "Mux"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Switch1"
- SrcPort 1
- Points [20, 0]
- Branch {
- Points [0, 70]
- Branch {
- Points [0, 65]
- DstBlock "Mux3"
- DstPort 2
- }
- Branch {
- DstBlock "Mux2"
- DstPort 2
- }
- }
- Branch {
- DstBlock "Mux1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Constant0"
- SrcPort 1
- Points [0, -35]
- Branch {
- DstBlock "Mux1"
- DstPort 1
- }
- Branch {
- Points [0, -60]
- DstBlock "Mux"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType Scope
- Name "u(t)"
- Ports [1]
- Position [1025, 85, 1055, 115]
- Orientation "up"
- Location [359, 924, 1280, 1024]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "u_c(t)"
- Ports [1]
- Position [970, 85, 1000, 115]
- Location [359, 536, 1280, 636]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "u_s(t)"
- Ports [1]
- Position [970, 235, 1000, 265]
- Location [359, 827, 1280, 927]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Outport
- Name "16-QAM-nSignal"
- Position [1070, 160, 1090, 180]
- }
- Block {
- BlockType Outport
- Name "Symbols"
- Position [270, 160, 290, 180]
- Port "2"
- }
- Block {
- BlockType Outport
- Name "a_c"
- Position [370, 55, 390, 75]
- Port "3"
- }
- Block {
- BlockType Outport
- Name "a_s"
- Position [370, 210, 390, 230]
- Port "4"
- }
- Line {
- SrcBlock "16 QAM"
- SrcPort 1
- DstBlock "Symbols"
- DstPort 1
- }
- Line {
- SrcBlock "4-ary source_"
- SrcPort 1
- Points [60, 0]
- Branch {
- DstBlock "4-ASK1"
- DstPort 1
- }
- Branch {
- Points [0, -75]
- DstBlock "16 QAM"
- DstPort 2
- }
- }
- Line {
- SrcBlock "4-ary source"
- SrcPort 1
- Points [55, 0]
- Branch {
- Points [5, 0; 0, 60]
- DstBlock "16 QAM"
- DstPort 1
- }
- Branch {
- DstBlock "4-ASK"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- DstBlock "16-QAM-nSignal"
- DstPort 1
- }
- Branch {
- DstBlock "u(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Fcn2"
- SrcPort 1
- Points [20, 0; 0, 50]
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "Fcn1"
- SrcPort 1
- Points [20, 0; 0, -45]
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Clock"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [10, 0; 0, -20]
- DstBlock "Fcn1"
- DstPort 1
- }
- Branch {
- Points [10, 0; 0, 25]
- DstBlock "Fcn2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Root-RCntransmit filter_"
- SrcPort 1
- DstBlock "Gain1"
- DstPort 1
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- Points [0, 65]
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- DstBlock "u_c(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- Points [0, -75]
- DstBlock "Sum"
- DstPort 2
- }
- Branch {
- DstBlock "u_s(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "4-ASK"
- SrcPort 1
- Points [45, 0]
- Branch {
- Points [0, -30]
- Branch {
- DstBlock "a_c"
- DstPort 1
- }
- Branch {
- DstBlock "a_c(t)"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Root-RCntransmit filter"
- DstPort 1
- }
- }
- Line {
- SrcBlock "4-ASK1"
- SrcPort 1
- Points [45, 0]
- Branch {
- Points [0, -35]
- Branch {
- DstBlock "a_s"
- DstPort 1
- }
- Branch {
- DstBlock "a_s(t)"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Root-RCntransmit filter_"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Root-RCntransmit filter"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- Points [5, 0]
- Branch {
- Points [5, 0]
- DstBlock "s_c(t)"
- DstPort 1
- }
- Branch {
- Points [60, 0]
- Branch {
- DstBlock "Product"
- DstPort 1
- }
- Branch {
- Points [0, -70]
- DstBlock "transmitterndiagrams"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Gain1"
- SrcPort 1
- Points [15, 0]
- Branch {
- Points [75, 0]
- Branch {
- Points [0, -210]
- DstBlock "transmitterndiagrams"
- DstPort 2
- }
- Branch {
- DstBlock "Product1"
- DstPort 2
- }
- }
- Branch {
- DstBlock "s_s(t)"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType Scope
- Name "a_c(t)n(transmitter)"
- Ports [1]
- Position [300, 220, 330, 250]
- Orientation "down"
- NamePlacement "alternate"
- Location [227, 535, 1147, 635]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "a_s(t)n(transmitter)"
- Ports [1]
- Position [205, 220, 235, 250]
- Orientation "down"
- NamePlacement "alternate"
- Location [227, 632, 1147, 732]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "constellation"
- Ports []
- Position [30, 19, 115, 56]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "cplotqam(16)"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "constellation"
- MaskDisplay "disp('Signal Space \n Constellation')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "constellation"
- Location [74, 73, 1338, 1015]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType Scope
- Name "detectednsymbols"
- Ports [1]
- Position [745, 220, 775, 250]
- Orientation "down"
- NamePlacement "alternate"
- Location [227, 794, 1147, 894]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-15"
- YMax "15"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "noise variance"
- Ports []
- Position [449, 45, 555, 69]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "setnoise"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "noise"
- MaskDisplay "disp('Noise variance')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "noise variance"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType Scope
- Name "r(t)"
- Ports [1]
- Position [590, 25, 620, 55]
- Orientation "up"
- Location [227, 794, 1147, 894]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "show receiver"
- Ports []
- Position [790, 105, 925, 131]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "showqamr"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "open"
- MaskDisplay "disp('Receiver')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "show receiver"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType SubSystem
- Name "show transmitter"
- Ports []
- Position [30, 100, 165, 126]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "showqamt"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "open"
- MaskDisplay "disp('Transmitter')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "show transmitter"
- Location [136, 230, 381, 439]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "cyan"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType Scope
- Name "transmittednsymbols"
- Ports [1]
- Position [350, 220, 380, 250]
- Orientation "down"
- Location [227, 438, 1147, 538]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-15"
- YMax "15"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "u(t)"
- Ports [1]
- Position [390, 25, 420, 55]
- Orientation "up"
- Location [227, 729, 1147, 829]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 1
- Points [0, -10; 135, 0]
- Branch {
- DstBlock "u(t)"
- DstPort 1
- }
- Branch {
- DstBlock "Channel"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Channel"
- SrcPort 1
- Points [55, 0]
- Branch {
- DstBlock "Receiver"
- DstPort 1
- }
- Branch {
- DstBlock "r(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Receiver"
- SrcPort 1
- Points [30, 0; 0, 80]
- Branch {
- DstBlock "detectednsymbols"
- DstPort 1
- }
- Branch {
- Points [-235, 0]
- DstBlock "Error rate"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 2
- Points [95, 0; 0, 50]
- Branch {
- Points [120, 0]
- DstBlock "Error rate"
- DstPort 1
- }
- Branch {
- DstBlock "transmittednsymbols"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 3
- Points [45, 0]
- DstBlock "a_c(t)n(transmitter)"
- DstPort 1
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 4
- Points [20, 0; 0, 30]
- DstBlock "a_s(t)n(transmitter)"
- DstPort 1
- }
- }
- }