msk.mdl
上传用户:loeagle
上传日期:2013-03-02
资源大小:1236k
文件大小:122k
- Model {
- Name "msk"
- Version 5.0
- SaveDefaultBlockParams on
- SampleTimeColors off
- LibraryLinkDisplay "none"
- WideLines off
- ShowLineDimensions off
- ShowPortDataTypes off
- ShowLoopsOnError on
- IgnoreBidirectionalLines off
- ShowStorageClass off
- ExecutionOrder off
- RecordCoverage off
- CovPath "/"
- CovSaveName "covdata"
- CovMetricSettings "dw"
- CovNameIncrementing off
- CovHtmlReporting on
- covSaveCumulativeToWorkspaceVar on
- CovSaveSingleToWorkspaceVar on
- CovCumulativeVarName "covCumulativeData"
- CovCumulativeReport off
- DataTypeOverride "UseLocalSettings"
- MinMaxOverflowLogging "UseLocalSettings"
- MinMaxOverflowArchiveMode "Overwrite"
- BlockNameDataTip off
- BlockParametersDataTip off
- BlockDescriptionStringDataTip off
- ToolBar on
- StatusBar on
- BrowserShowLibraryLinks off
- BrowserLookUnderMasks off
- CloseFcn "closemodcross"
- Created "Wed Jul 25 14:37:48 2001"
- Creator "gerhard"
- UpdateHistory "UpdateHistoryNever"
- ModifiedByFormat "%<Auto>"
- LastModifiedBy "bauch"
- ModifiedDateFormat "%<Auto>"
- LastModifiedDate "Sat Aug 30 14:45:46 2003"
- ModelVersionFormat "1.%<AutoIncrement:40>"
- ConfigurationManager "none"
- SimParamPage "Solver"
- LinearizationMsg "none"
- Profile off
- ParamWorkspaceSource "MATLABWorkspace"
- AccelSystemTargetFile "accel.tlc"
- AccelTemplateMakefile "accel_default_tmf"
- AccelMakeCommand "make_rtw"
- TryForcingSFcnDF off
- ExtModeMexFile "ext_comm"
- ExtModeBatchMode off
- ExtModeTrigType "manual"
- ExtModeTrigMode "normal"
- ExtModeTrigPort "1"
- ExtModeTrigElement "any"
- ExtModeTrigDuration 1000
- ExtModeTrigHoldOff 0
- ExtModeTrigDelay 0
- ExtModeTrigDirection "rising"
- ExtModeTrigLevel 0
- ExtModeArchiveMode "off"
- ExtModeAutoIncOneShot off
- ExtModeIncDirWhenArm off
- ExtModeAddSuffixToVar off
- ExtModeWriteAllDataToWs off
- ExtModeArmWhenConnect on
- ExtModeSkipDownloadWhenConnect off
- ExtModeLogAll on
- ExtModeAutoUpdateStatusClock off
- BufferReuse on
- RTWExpressionDepthLimit 5
- SimulationMode "normal"
- Solver "ode45"
- SolverMode "Auto"
- StartTime "0.0"
- StopTime "999999"
- MaxOrder 5
- MaxStep ".025"
- MinStep ".00001"
- MaxNumMinSteps "-1"
- InitialStep "auto"
- FixedStep "auto"
- RelTol "1"
- AbsTol "1"
- OutputOption "RefineOutputTimes"
- OutputTimes "[]"
- Refine "1"
- LoadExternalInput off
- ExternalInput "[t, u]"
- LoadInitialState off
- InitialState "xInitial"
- SaveTime off
- TimeSaveName "tout"
- SaveState off
- StateSaveName "xout"
- SaveOutput off
- OutputSaveName "yout"
- SaveFinalState off
- FinalStateName "xFinal"
- SaveFormat "Array"
- Decimation "1"
- LimitDataPoints on
- MaxDataPoints "1000"
- SignalLoggingName "sigsOut"
- ConsistencyChecking "none"
- ArrayBoundsChecking "none"
- AlgebraicLoopMsg "warning"
- BlockPriorityViolationMsg "warning"
- MinStepSizeMsg "warning"
- InheritedTsInSrcMsg "warning"
- DiscreteInheritContinuousMsg "warning"
- MultiTaskRateTransMsg "error"
- SingleTaskRateTransMsg "none"
- CheckForMatrixSingularity "none"
- IntegerOverflowMsg "warning"
- Int32ToFloatConvMsg "warning"
- ParameterDowncastMsg "error"
- ParameterOverflowMsg "error"
- ParameterPrecisionLossMsg "warning"
- UnderSpecifiedDataTypeMsg "none"
- UnnecessaryDatatypeConvMsg "none"
- VectorMatrixConversionMsg "none"
- InvalidFcnCallConnMsg "error"
- SignalLabelMismatchMsg "none"
- UnconnectedInputMsg "warning"
- UnconnectedOutputMsg "warning"
- UnconnectedLineMsg "warning"
- SfunCompatibilityCheckMsg "none"
- RTWInlineParameters off
- BlockReductionOpt off
- BooleanDataType off
- ConditionallyExecuteInputs on
- ParameterPooling on
- OptimizeBlockIOStorage on
- ZeroCross on
- AssertionControl "UseLocalSettings"
- ProdHWDeviceType "Microprocessor"
- ProdHWWordLengths "8,16,32,32"
- RTWSystemTargetFile "grt.tlc"
- RTWTemplateMakefile "grt_default_tmf"
- RTWMakeCommand "make_rtw"
- RTWGenerateCodeOnly off
- RTWRetainRTWFile off
- TLCProfiler off
- TLCDebug off
- TLCCoverage off
- TLCAssertion off
- BlockDefaults {
- Orientation "right"
- ForegroundColor "black"
- BackgroundColor "white"
- DropShadow off
- NamePlacement "normal"
- FontName "Helvetica"
- FontSize 10
- FontWeight "normal"
- FontAngle "normal"
- ShowName on
- }
- BlockParameterDefaults {
- Block {
- BlockType Clock
- DisplayTime off
- }
- Block {
- BlockType Constant
- Value "1"
- VectorParams1D on
- ShowAdditionalParam off
- OutDataTypeMode "Inherit from 'Constant value'"
- OutDataType "sfix(16)"
- ConRadixGroup "Use specified scaling"
- OutScaling "2^0"
- }
- Block {
- BlockType Fcn
- Expr "sin(u[1])"
- }
- Block {
- BlockType Gain
- Gain "1"
- Multiplication "Element-wise(K.*u)"
- ShowAdditionalParam off
- ParameterDataTypeMode "Same as input"
- ParameterDataType "sfix(16)"
- ParameterScalingMode "Best Precision: Matrix-wise"
- ParameterScaling "2^0"
- OutDataTypeMode "Same as input"
- OutDataType "sfix(16)"
- OutScaling "2^0"
- LockScale off
- RndMeth "Floor"
- SaturateOnIntegerOverflow on
- }
- Block {
- BlockType Inport
- Port "1"
- PortDimensions "-1"
- SampleTime "-1"
- ShowAdditionalParam off
- LatchInput off
- DataType "auto"
- OutDataType "sfix(16)"
- OutScaling "2^0"
- SignalType "auto"
- SamplingMode "auto"
- Interpolate on
- }
- Block {
- BlockType Logic
- Operator "AND"
- Inputs "2"
- ShowAdditionalParam off
- AllPortsSameDT on
- OutDataTypeMode "Logical (see Advanced Sim. Parameters)"
- LogicDataType "uint(8)"
- }
- Block {
- BlockType Mux
- Inputs "4"
- DisplayOption "none"
- }
- Block {
- BlockType Outport
- Port "1"
- OutputWhenDisabled "held"
- InitialOutput "[]"
- }
- Block {
- BlockType Product
- Inputs "2"
- Multiplication "Element-wise(.*)"
- ShowAdditionalParam off
- InputSameDT on
- OutDataTypeMode "Same as first input"
- OutDataType "sfix(16)"
- OutScaling "2^0"
- LockScale off
- RndMeth "Floor"
- SaturateOnIntegerOverflow on
- }
- Block {
- BlockType RandomNumber
- Mean "0"
- Variance "1"
- Seed "0"
- SampleTime "-1"
- VectorParams1D on
- }
- Block {
- BlockType Reference
- }
- Block {
- BlockType RelationalOperator
- Operator ">="
- ShowAdditionalParam off
- InputSameDT on
- LogicOutDataTypeMode "Logical (see Advanced Sim. Parameters)"
- LogicDataType "uint(8)"
- ZeroCross on
- }
- Block {
- BlockType Scope
- Floating off
- ModelBased off
- TickLabels "OneTimeTick"
- ZoomMode "on"
- Grid "on"
- TimeRange "auto"
- YMin "-5"
- YMax "5"
- SaveToWorkspace off
- SaveName "ScopeData"
- LimitDataPoints on
- MaxDataPoints "5000"
- Decimation "1"
- SampleInput off
- SampleTime "0"
- }
- Block {
- BlockType "S-Function"
- FunctionName "system"
- PortCounts "[]"
- SFunctionModules "''"
- }
- Block {
- BlockType StateSpace
- A "1"
- B "1"
- C "1"
- D "1"
- X0 "0"
- AbsoluteTolerance "auto"
- Realization "auto"
- }
- Block {
- BlockType Step
- Time "1"
- Before "0"
- After "1"
- SampleTime "-1"
- VectorParams1D on
- ZeroCross on
- }
- Block {
- BlockType SubSystem
- ShowPortLabels on
- Permissions "ReadWrite"
- RTWSystemCode "Auto"
- RTWFcnNameOpts "Auto"
- RTWFileNameOpts "Auto"
- SimViewingDevice off
- DataTypeOverride "UseLocalSettings"
- MinMaxOverflowLogging "UseLocalSettings"
- }
- Block {
- BlockType Sum
- IconShape "rectangular"
- Inputs "++"
- ShowAdditionalParam off
- InputSameDT on
- OutDataTypeMode "Same as first input"
- OutDataType "sfix(16)"
- OutScaling "2^0"
- LockScale off
- RndMeth "Floor"
- SaturateOnIntegerOverflow on
- }
- Block {
- BlockType Switch
- Criteria "u2 >= Threshold"
- Threshold "0"
- ShowAdditionalParam off
- InputSameDT on
- OutDataTypeMode "Inherit via internal rule"
- RndMeth "Floor"
- SaturateOnIntegerOverflow on
- ZeroCross on
- }
- Block {
- BlockType Terminator
- }
- Block {
- BlockType TransportDelay
- DelayTime "1"
- InitialInput "0"
- BufferSize "1024"
- PadeOrder "0"
- TransDelayFeedthrough off
- }
- Block {
- BlockType UnitDelay
- X0 "0"
- SampleTime "1"
- RTWStateStorageClass "Auto"
- }
- Block {
- BlockType ZeroOrderHold
- SampleTime "1"
- }
- }
- AnnotationDefaults {
- HorizontalAlignment "center"
- VerticalAlignment "middle"
- ForegroundColor "black"
- BackgroundColor "white"
- DropShadow off
- FontName "Helvetica"
- FontSize 10
- FontWeight "normal"
- FontAngle "normal"
- }
- LineDefaults {
- FontName "Helvetica"
- FontSize 9
- FontWeight "normal"
- FontAngle "normal"
- }
- System {
- Name "msk"
- Location [14, 187, 1026, 591]
- Open on
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- ReportName "simulink-default.rpt"
- Block {
- BlockType Reference
- Name "Channel"
- Ports [1, 1]
- Position [465, 84, 545, 126]
- SourceBlock "librnew/Channel"
- SourceType "AWGN channel, fixed parameter"
- m "0"
- variance "0.001"
- s "12345"
- }
- Block {
- BlockType SubSystem
- Name "Error rate"
- Ports [2]
- Position [465, 215, 545, 255]
- Orientation "down"
- CopyFcn "sbiterr([],[],[],'CopyBlock')"
- DeleteFcn "sbiterr([],[],[],'DeleteBlock')"
- LoadFcn "sbiterr([],[],[],'LoadBlock')"
- StartFcn "sbiterr([],[],[],'Start')"
- StopFcn "sbiterr([],[],[],'Stop')"
- NameChangeFcn "sbiterr([],[],[],'NameChange')"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Symbol/bit error counter"
- MaskDescription "Use the input data from the 1st port as the ref"
- "erence signal to detect the number of errors and error rate of the 2nd signal"
- "."
- MaskHelp "The signal from the first port must be a scalar"
- ". The second input port can be a vector with a delay to the first port signal"
- ". The comparison happens only at the sampling point."
- MaskPromptString "Bit per symbol:|Number of digits on display:|De"
- "lay between 1st port and 2nd port:|Sample time (sec):"
- 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 "K=@1;num_lin=@2;TDelay=@3;Sample=@4;"
- MaskDisplay "disp('Error\nmeter')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1|10|2|1"
- System {
- Name "Error rate"
- Location [347, 402, 949, 697]
- 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, 15, 95, 35]
- }
- Block {
- BlockType Inport
- Name "in_2"
- Position [75, 135, 95, 155]
- Port "2"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [130, 200, 150, 220]
- Orientation "up"
- ShowName off
- Value "0"
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [135, 65, 155, 85]
- Orientation "up"
- ShowName off
- Value "0"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [270, 51, 305, 84]
- Inputs "2"
- }
- Block {
- BlockType "S-Function"
- Name "S-function"
- Ports [1]
- Position [335, 57, 400, 83]
- FunctionName "sbiterr"
- Parameters "num_lin, K, TDelay, Sample"
- }
- Block {
- BlockType Switch
- Name "Schalter1"
- Position [160, 149, 190, 181]
- ShowName off
- Threshold "1"
- }
- Block {
- BlockType Switch
- Name "Schalter2"
- Position [160, 19, 190, 51]
- ShowName off
- Threshold "1"
- }
- Block {
- BlockType Step
- Name "Step Input"
- Position [75, 190, 95, 210]
- Time "3"
- SampleTime "1"
- }
- Block {
- BlockType Step
- Name "Step Input1"
- Position [75, 60, 95, 80]
- SampleTime "1"
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "S-function"
- DstPort 1
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Schalter2"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- DstBlock "Schalter2"
- DstPort 3
- }
- Line {
- SrcBlock "Step Input1"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Schalter2"
- DstPort 2
- }
- Line {
- SrcBlock "Schalter2"
- SrcPort 1
- Points [30, 0; 0, 25]
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "in_2"
- SrcPort 1
- Points [20, 0; 0, 10]
- DstBlock "Schalter1"
- DstPort 1
- }
- Line {
- SrcBlock "Step Input"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Schalter1"
- DstPort 2
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, -20]
- DstBlock "Schalter1"
- DstPort 3
- }
- Line {
- SrcBlock "Schalter1"
- SrcPort 1
- Points [30, 0; 0, -90]
- DstBlock "Mux"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Receiver"
- Ports [1, 2]
- Position [645, 59, 720, 146]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "Receiver"
- Location [10, 106, 1022, 436]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "noisynMSK signal"
- Position [20, 120, 40, 140]
- }
- Block {
- BlockType Reference
- Name "ButterworthLP filter"
- Ports [1, 1]
- Position [330, 63, 390, 97]
- SourceBlock "librnew/ButterworthLP filter"
- SourceType "Lowpass Butterworth filter"
- MaskParam1 "5"
- n "4"
- }
- Block {
- BlockType Reference
- Name "ButterworthLP filter_"
- Ports [1, 1]
- Position [330, 161, 390, 199]
- SourceBlock "librnew/ButterworthLP filter"
- SourceType "Lowpass Butterworth filter"
- MaskParam1 "5"
- n "4"
- }
- Block {
- BlockType Clock
- Name "Clock"
- Position [90, 120, 110, 140]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [805, 195, 825, 215]
- Orientation "left"
- }
- Block {
- BlockType Fcn
- Name "Fcn2"
- Position [130, 135, 225, 155]
- ShowName off
- Expr "-2*sin(4*pi*u)"
- }
- Block {
- BlockType Fcn
- Name "Fcn3"
- Position [130, 105, 225, 125]
- ShowName off
- Expr "2*cos(4*pi*u)"
- }
- Block {
- BlockType ZeroOrderHold
- Name "Hold"
- Position [735, 114, 770, 146]
- }
- Block {
- BlockType Product
- Name "Product3"
- Ports [2, 1]
- Position [255, 68, 285, 92]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product4"
- Ports [2, 1]
- Position [255, 168, 285, 192]
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "PulsenGenerator1"
- Ports [0, 1]
- Position [560, 112, 595, 148]
- ShowName off
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse Generator"
- MaskDescription "Pulse Generator."
- MaskHelp "Pulse generator which ensures pulse\ntrans"
- "itions are hit. Provides a vector of pulses when the height is entered as a v"
- "ector.\nUnmask to see how it works."
- MaskPromptString "Pulse period (secs):|Pulse width:|Pulse hei"
- "ght:|Pulse start time:"
- 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 "Ts=@1; du=@2; ht=@3; stt=@4; ini=ones(lengt"
- "h(ht),1); st1=rem(stt,Ts); st2=rem(stt+du,Ts);if(Ts<=1.2*du),ini=zeros(length"
- "(ht),1);end;"
- MaskDisplay "plot(0,0,100,100,[90,75,75,60,60,35,35,20,2"
- "0,10],[20,20,80,80,20,20,80,80,20,20])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "2|1|1|0"
- System {
- Name "PulsenGenerator1"
- Location [158, 441, 759, 682]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Clock
- Name "Clock1"
- Position [295, 100, 315, 120]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [25, 30, 45, 50]
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [295, 149, 320, 171]
- Value "stt"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [510, 102, 535, 128]
- ShowName off
- Gain "ht"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator"
- Ports [2, 1]
- Position [285, 38, 315, 62]
- Operator "XOR"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator1"
- Ports [1, 1]
- Position [355, 38, 385, 62]
- Operator "NOT"
- Inputs "1"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [455, 105, 480, 125]
- ShowName off
- }
- Block {
- BlockType RelationalOperator
- Name "Relationalnoperator"
- Position [370, 102, 400, 133]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [135, 35, 155, 55]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [130, 120, 150, 140]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [145, 75, 195, 95]
- Orientation "left"
- SampleTime "[Ts,st1]"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [140, 165, 190, 185]
- Orientation "left"
- X0 "ini"
- SampleTime "[Ts,st2]"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [560, 105, 580, 125]
- ShowName off
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [90, 0; 0, -75]
- DstBlock "LogicalnOperator"
- DstPort 2
- }
- Branch {
- Points [55, 0; 0, 45]
- DstBlock "Unit Delay1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 1
- }
- Branch {
- Points [70, 0; 0, 40]
- DstBlock "Unit Delay"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [20, 0; 0, 85]
- DstBlock "Sum1"
- DstPort 1
- }
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- Points [-35, 0; 0, -40]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- Points [-35, 0; 0, -35]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Clock1"
- SrcPort 1
- DstBlock "Relationalnoperator"
- DstPort 1
- }
- Line {
- SrcBlock "Relationalnoperator"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Relationalnoperator"
- DstPort 2
- }
- Line {
- SrcBlock "LogicalnOperator"
- SrcPort 1
- DstBlock "LogicalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "LogicalnOperator1"
- SrcPort 1
- Points [40, 0; 0, 60]
- DstBlock "Product"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Switch
- Name "Schalter1"
- Position [805, 124, 835, 156]
- ShowName off
- Threshold "1"
- }
- Block {
- BlockType Step
- Name "Step Input"
- Position [745, 195, 765, 215]
- Time "2"
- SampleTime "1"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [625, 114, 655, 146]
- Threshold "1"
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay"
- Position [420, 165, 460, 195]
- NamePlacement "alternate"
- ShowName off
- DelayTime ".5"
- BufferSize "200"
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay1"
- Position [420, 65, 460, 95]
- NamePlacement "alternate"
- ShowName off
- DelayTime ".5"
- BufferSize "200"
- }
- Block {
- BlockType SubSystem
- Name "close receiver"
- Ports []
- Position [815, 20, 950, 46]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "closmskr"
- FontSize 12
- FontAngle "italic"
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "close"
- MaskDisplay "disp('close receiver')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "close 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 "differentialndecoding"
- Ports [1, 2]
- Position [865, 110, 895, 165]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "differentialndecoding"
- Location [587, 391, 914, 649]
- 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 [20, 25, 40, 45]
- }
- Block {
- BlockType Fcn
- Name "Fcn4"
- Position [70, 215, 130, 235]
- Orientation "left"
- ShowName off
- Expr "1-2*u"
- }
- Block {
- BlockType Fcn
- Name "Fcn5"
- Position [210, 85, 270, 105]
- ShowName off
- Expr "(1-u)/2"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [155, 28, 185, 52]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [90, 138, 120, 162]
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "PulsenGenerator"
- Ports [0, 1]
- Position [160, 207, 195, 243]
- Orientation "left"
- ShowName off
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse Generator"
- MaskDescription "Pulse Generator."
- MaskHelp "Pulse generator which ensures pulse\nt"
- "ransitions are hit. Provides a vector of pulses when the height is entered as"
- " a vector.\nUnmask to see how it works."
- MaskPromptString "Pulse period (secs):|Pulse width:|Pulse"
- " height:|Pulse start time:"
- 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 "Ts=@1; du=@2; ht=@3; stt=@4; ini=ones(l"
- "ength(ht),1); st1=rem(stt,Ts); st2=rem(stt+du,Ts);if(Ts<=1.2*du),ini=zeros(le"
- "ngth(ht),1);end;"
- MaskDisplay "plot(0,0,100,100,[90,75,75,60,60,35,35,"
- "20,20,10],[20,20,80,80,20,20,80,80,20,20])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "2|1|1|0"
- System {
- Name "PulsenGenerator"
- Location [158, 441, 759, 682]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Clock
- Name "Clock1"
- Position [295, 100, 315, 120]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [25, 30, 45, 50]
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [295, 149, 320, 171]
- Value "stt"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [510, 102, 535, 128]
- ShowName off
- Gain "ht"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator"
- Ports [2, 1]
- Position [285, 38, 315, 62]
- Operator "XOR"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator1"
- Ports [1, 1]
- Position [355, 38, 385, 62]
- Operator "NOT"
- Inputs "1"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [455, 105, 480, 125]
- ShowName off
- }
- Block {
- BlockType RelationalOperator
- Name "Relationalnoperator"
- Position [370, 102, 400, 133]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [135, 35, 155, 55]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [130, 120, 150, 140]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [145, 75, 195, 95]
- Orientation "left"
- SampleTime "[Ts,st1]"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [140, 165, 190, 185]
- Orientation "left"
- X0 "ini"
- SampleTime "[Ts,st2]"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [560, 105, 580, 125]
- ShowName off
- }
- Line {
- SrcBlock "LogicalnOperator1"
- SrcPort 1
- Points [40, 0; 0, 60]
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "LogicalnOperator"
- SrcPort 1
- DstBlock "LogicalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Relationalnoperator"
- DstPort 2
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Relationalnoperator"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Clock1"
- SrcPort 1
- DstBlock "Relationalnoperator"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- Points [-35, 0; 0, -35]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [70, 0; 0, 40]
- DstBlock "Unit Delay"
- DstPort 1
- }
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- Points [20, 0; 0, 85]
- DstBlock "Sum1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [55, 0; 0, 45]
- DstBlock "Unit Delay1"
- DstPort 1
- }
- Branch {
- Points [90, 0; 0, -75]
- DstBlock "LogicalnOperator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- Points [-35, 0; 0, -40]
- DstBlock "Sum1"
- DstPort 2
- }
- }
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [45, 85, 95, 105]
- Orientation "down"
- ShowName off
- X0 "1"
- }
- Block {
- BlockType Scope
- Name "a(t-1)"
- Ports [1]
- Position [165, 135, 195, 165]
- Location [371, 799, 1284, 899]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [290, 30, 310, 50]
- }
- Block {
- BlockType Outport
- Name "Bit"
- Position [290, 85, 310, 105]
- Port "2"
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- Points [0, 35]
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "a(t-1)"
- DstPort 1
- }
- Branch {
- Points [0, -105]
- DstBlock "Product"
- DstPort 2
- }
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [25, 0]
- Branch {
- DstBlock "Product"
- DstPort 1
- }
- Branch {
- DstBlock "Unit Delay"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "out_1"
- DstPort 1
- }
- Branch {
- Points [0, 55]
- DstBlock "Fcn5"
- DstPort 1
- }
- }
- Line {
- SrcBlock "PulsenGenerator"
- SrcPort 1
- DstBlock "Fcn4"
- DstPort 1
- }
- Line {
- SrcBlock "Fcn4"
- SrcPort 1
- Points [-20, 0; 0, -70]
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "Fcn5"
- SrcPort 1
- DstBlock "Bit"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "noise variance"
- Ports []
- Position [19, 215, 125, 239]
- 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 [45, 20, 75, 50]
- Orientation "up"
- NamePlacement "alternate"
- Location [360, 340, 1280, 440]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "receiver diagrams"
- Ports [2]
- Position [580, 15, 635, 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 "2|40|0.075"
- System {
- Name "receiver diagrams"
- Location [74, 224, 486, 526]
- 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, 25, 50, 45]
- }
- 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 patternnreceiver"
- Ports [1]
- Position [305, 12, 360, 48]
- 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 patternnreceiver"
- 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, 21, 265, 54]
- 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 patternnreceiver"
- 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 patternnreceiver"
- 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 plotnreceiver"
- Ports [1]
- Position [305, 223, 360, 257]
- 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 o"
- "ffset]"
- System {
- Name "Scatter plotnreceiver"
- Location [165, 242, 460, 428]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "A4"
- PaperUnits "centimeters"
- 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, 29, 155, 61]
- Threshold "1"
- }
- Block {
- BlockType Switch
- Name "Switch1"
- Position [130, 84, 155, 116]
- Threshold "1"
- }
- Block {
- BlockType SubSystem
- Name "Trajectory nreceiver"
- 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 "Trajectory nreceiver"
- 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 [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 "in_1"
- SrcPort 1
- Points [5, 0; 0, 15]
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Plot1"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, 110]
- Branch {
- DstBlock "Mux2"
- DstPort 1
- }
- Branch {
- Points [0, 65]
- DstBlock "Mux3"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Mux"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Switch1"
- SrcPort 1
- Points [20, 0]
- Branch {
- Points [0, 70]
- Branch {
- DstBlock "Mux2"
- DstPort 2
- }
- Branch {
- Points [0, 65]
- DstBlock "Mux3"
- DstPort 2
- }
- }
- Branch {
- DstBlock "Mux1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Constant0"
- SrcPort 1
- Points [0, -35]
- Branch {
- DstBlock "Mux1"
- DstPort 1
- }
- Branch {
- Points [0, -55]
- DstBlock "Mux"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Quadratur"
- SrcPort 1
- DstBlock "Switch1"
- DstPort 1
- }
- Line {
- SrcBlock "Inphase"
- SrcPort 1
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Step input"
- SrcPort 1
- Points [20, 0; 0, -35]
- Branch {
- Points [0, -55]
- DstBlock "Switch"
- DstPort 2
- }
- Branch {
- DstBlock "Switch1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, -10]
- Branch {
- Points [0, -55]
- DstBlock "Switch"
- DstPort 3
- }
- Branch {
- DstBlock "Switch1"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Quadrature eye patternnreceiver"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [20, 0]
- DstBlock "Inphase eye patternnreceiver"
- DstPort 1
- }
- Line {
- SrcBlock "Mux3"
- SrcPort 1
- Points [20, 0]
- DstBlock "Scatter plotnreceiver"
- DstPort 1
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- Points [20, 0]
- DstBlock "Trajectory nreceiver"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Scope
- Name "s_rc(t)"
- Ports [1]
- Position [465, 10, 495, 40]
- Orientation "up"
- Location [360, 536, 1280, 636]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "s_rs(t)"
- Ports [1]
- Position [465, 230, 495, 260]
- Orientation "down"
- Location [360, 732, 1280, 832]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "thresholdndetector"
- Ports [1, 1]
- Position [680, 113, 710, 147]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Sign"
- MaskDescription "y = sign(x)"
- MaskHelp "Sign Function:\n\t\t\ty = 1 if x > 0\n"
- "\t\t\ty = 0 if x = 0\n\t\t\ty = -1 if x < 0"
- MaskDisplay "plot(-50,-50,50,50,[-50,50],[0,0],[0,0],[-5"
- "0,50],[-40,0],[-30,-30],[0,40],[30,30])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "thresholdndetector"
- Location [159, 417, 467, 586]
- 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 Constant
- Name "Constant"
- Position [65, 105, 85, 125]
- Value "0"
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator"
- Position [140, 32, 170, 63]
- Operator ">"
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator1"
- Position [140, 92, 170, 123]
- Operator "<"
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [215, 64, 235, 91]
- Inputs "+-"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [265, 70, 285, 90]
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- Points [35, 0]
- Branch {
- DstBlock "RelationalnOperator"
- DstPort 1
- }
- Branch {
- Points [0, 60]
- DstBlock "RelationalnOperator1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [20, 0]
- Branch {
- DstBlock "RelationalnOperator1"
- DstPort 2
- }
- Branch {
- Points [0, -60]
- DstBlock "RelationalnOperator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "RelationalnOperator1"
- SrcPort 1
- Points [10, 0; 0, -25]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "RelationalnOperator"
- SrcPort 1
- Points [10, 0; 0, 20]
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Scope
- Name "v(t)"
- Ports [1]
- Position [905, 60, 935, 90]
- Orientation "up"
- Location [360, 924, 1280, 1024]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "x_c(t)"
- Ports [1]
- Position [290, 10, 320, 40]
- Orientation "up"
- Location [360, 437, 1280, 537]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "x_s(t)"
- Ports [1]
- Position [285, 230, 315, 260]
- Orientation "down"
- Location [360, 634, 1280, 734]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "y(t)"
- Ports [1]
- Position [835, 60, 865, 90]
- Orientation "up"
- Location [360, 830, 1280, 930]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-2.000000"
- YMax "2.000000"
- DataFormat "Array"
- }
- Block {
- BlockType Outport
- Name "detected nsymbol"
- Position [955, 115, 975, 135]
- }
- Block {
- BlockType Outport
- Name "detectednbit"
- Position [955, 195, 975, 215]
- Port "2"
- }
- Line {
- SrcBlock "Fcn3"
- SrcPort 1
- Points [5, 0; 0, -30]
- DstBlock "Product3"
- DstPort 2
- }
- Line {
- SrcBlock "Clock"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "Fcn3"
- DstPort 1
- }
- Branch {
- DstBlock "Fcn2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product3"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "x_c(t)"
- DstPort 1
- }
- Branch {
- DstBlock "ButterworthLP filter"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product4"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "x_s(t)"
- DstPort 1
- }
- Branch {
- DstBlock "ButterworthLP filter_"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Fcn2"
- SrcPort 1
- Points [5, 0; 0, 30]
- DstBlock "Product4"
- DstPort 1
- }
- Line {
- SrcBlock "PulsenGenerator1"
- SrcPort 1
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "noisynMSK signal"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "r(t)"
- DstPort 1
- }
- Branch {
- Points [20, 0]
- Branch {
- Points [0, 55]
- DstBlock "Product4"
- DstPort 2
- }
- Branch {
- Points [0, -55]
- DstBlock "Product3"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "differentialndecoding"
- SrcPort 1
- Points [20, 0]
- Branch {
- DstBlock "detected nsymbol"
- DstPort 1
- }
- Branch {
- DstBlock "v(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "thresholdndetector"
- DstPort 1
- }
- Line {
- SrcBlock "ButterworthLP filter_"
- SrcPort 1
- DstBlock "TransportnDelay"
- DstPort 1
- }
- Line {
- SrcBlock "TransportnDelay"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "s_rs(t)"
- DstPort 1
- }
- Branch {
- Points [70, 0]
- Branch {
- Points [55, 0; 0, -40]
- DstBlock "Switch"
- DstPort 3
- }
- Branch {
- Points [0, -135]
- DstBlock "receiver diagrams"
- DstPort 2
- }
- }
- }
- Line {
- SrcBlock "ButterworthLP filter"
- SrcPort 1
- DstBlock "TransportnDelay1"
- DstPort 1
- }
- Line {
- SrcBlock "TransportnDelay1"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "s_rc(t)"
- DstPort 1
- }
- Branch {
- Points [55, 0]
- Branch {
- Points [70, 0; 0, 40]
- DstBlock "Switch"
- DstPort 1
- }
- Branch {
- Points [0, -55]
- DstBlock "receiver diagrams"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [-10, 0]
- DstBlock "Schalter1"
- DstPort 3
- }
- Line {
- SrcBlock "Step Input"
- SrcPort 1
- Points [10, 0; 0, -65]
- DstBlock "Schalter1"
- DstPort 2
- }
- Line {
- SrcBlock "thresholdndetector"
- SrcPort 1
- DstBlock "Hold"
- DstPort 1
- }
- Line {
- SrcBlock "Hold"
- SrcPort 1
- DstBlock "Schalter1"
- DstPort 1
- }
- Line {
- SrcBlock "Schalter1"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "differentialndecoding"
- DstPort 1
- }
- Branch {
- DstBlock "y(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "differentialndecoding"
- SrcPort 2
- Points [20, 0; 0, 55]
- DstBlock "detectednbit"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Transmitter"
- Ports [0, 4]
- Position [185, 73, 260, 157]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "Transmitter"
- Location [12, 430, 1021, 708]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Clock
- Name "Clock"
- Position [355, 125, 375, 145]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Fcn
- Name "Fcn"
- Position [410, 69, 490, 101]
- ShowName off
- Expr "abs(cos(1/2*pi*u-pi/2))"
- }
- Block {
- BlockType Fcn
- Name "Fcn1"
- Position [550, 108, 645, 132]
- ShowName off
- Expr "cos(4*pi*u)"
- }
- Block {
- BlockType Fcn
- Name "Fcn2"
- Position [550, 143, 645, 167]
- ShowName off
- Expr "sin(4*pi*u)"
- }
- Block {
- BlockType Fcn
- Name "Fcn3"
- Position [410, 164, 490, 196]
- ShowName off
- Expr "abs(cos(1/2*pi*u))"
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [715, 218, 745, 242]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product3"
- Ports [2, 1]
- Position [715, 33, 745, 57]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product4"
- Ports [2, 1]
- Position [530, 28, 560, 52]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product5"
- Ports [2, 1]
- Position [535, 223, 565, 247]
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "PulsenGenerator1"
- Ports [0, 1]
- Position [280, 122, 315, 158]
- ShowName off
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse Generator"
- MaskDescription "Pulse Generator."
- MaskHelp "Pulse generator which ensures pulse\ntrans"
- "itions are hit. Provides a vector of pulses when the height is entered as a v"
- "ector.\nUnmask to see how it works."
- MaskPromptString "Pulse period (secs):|Pulse width:|Pulse hei"
- "ght:|Pulse start time:"
- 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 "Ts=@1; du=@2; ht=@3; stt=@4; ini=ones(lengt"
- "h(ht),1); st1=rem(stt,Ts); st2=rem(stt+du,Ts);if(Ts<=1.2*du),ini=zeros(length"
- "(ht),1);end;"
- MaskDisplay "plot(0,0,100,100,[90,75,75,60,60,35,35,20,2"
- "0,10],[20,20,80,80,20,20,80,80,20,20])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "2|1|1|0"
- System {
- Name "PulsenGenerator1"
- Location [158, 441, 759, 682]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Clock
- Name "Clock1"
- Position [295, 100, 315, 120]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [25, 30, 45, 50]
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [295, 149, 320, 171]
- Value "stt"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [510, 102, 535, 128]
- ShowName off
- Gain "ht"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator"
- Ports [2, 1]
- Position [285, 38, 315, 62]
- Operator "XOR"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator1"
- Ports [1, 1]
- Position [355, 38, 385, 62]
- Operator "NOT"
- Inputs "1"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [455, 105, 480, 125]
- ShowName off
- }
- Block {
- BlockType RelationalOperator
- Name "Relationalnoperator"
- Position [370, 102, 400, 133]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [135, 35, 155, 55]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [130, 120, 150, 140]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [145, 75, 195, 95]
- Orientation "left"
- SampleTime "[Ts,st1]"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [140, 165, 190, 185]
- Orientation "left"
- X0 "ini"
- SampleTime "[Ts,st2]"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [560, 105, 580, 125]
- ShowName off
- }
- Line {
- SrcBlock "LogicalnOperator1"
- SrcPort 1
- Points [40, 0; 0, 60]
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "LogicalnOperator"
- SrcPort 1
- DstBlock "LogicalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Relationalnoperator"
- DstPort 2
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Relationalnoperator"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Clock1"
- SrcPort 1
- DstBlock "Relationalnoperator"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- Points [-35, 0; 0, -35]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [70, 0; 0, 40]
- DstBlock "Unit Delay"
- DstPort 1
- }
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- Points [20, 0; 0, 85]
- DstBlock "Sum1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [55, 0; 0, 45]
- DstBlock "Unit Delay1"
- DstPort 1
- }
- Branch {
- Points [90, 0; 0, -75]
- DstBlock "LogicalnOperator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- Points [-35, 0; 0, -40]
- DstBlock "Sum1"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Source"
- Ports [0, 2]
- Position [20, 90, 50, 145]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "Source"
- Location [295, 359, 557, 505]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Fcn
- Name "Fcn"
- Position [130, 70, 170, 90]
- Expr "1-2*u"
- }
- Block {
- BlockType SubSystem
- Name "Source"
- Ports [0, 1]
- Position [25, 58, 90, 102]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Read from workspace"
- MaskDescription "Read from a workspace variable atnsamp"
- "ling time point."
- MaskHelp "This block reads from a workspace varia"
- "ble at a given sample time. The column number is the block output vector leng"
- "th. When the simulation reaches the end of the variable (eof), the block will"
- " cyclically output from the first row of the variable or output zeros based o"
- "n the repeat flag entree."
- MaskPromptString "Variable (column_number=block_output_le"
- "ngth):|Data output sample time (sec):|Repeat flag (1: repeat read, 0: output "
- "zeros 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"
- "),off=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(1000,1,2)|1|1|1"
- System {
- Name "Source"
- Location [355, 528, 737, 675]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- 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 tri"
- "gger the block output the next row from the workspace variable."
- MaskHelp "This block reads the data from a wo"
- "rkspace variable. The output is refreshed at the raising edge of the input pu"
- "lse."
- MaskPromptString "Read the variable:|Threshold for th"
- "e input pulse:|Cyclic read variable (1) or amend zeros (0).|Output before fir"
- "st trigger:"
- 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 e"
- "ach pulse as Sample_time ./Divider. "
- MaskHelp "This block generator a vector pulse"
- "s. The output length is the same as the vector defined in "Divider". The it"
- "h element of the output has the sample time Sample_time/Divider(i). All eleme"
- "nts in "Divider" must be integers."
- MaskPromptString "Sample time (scalar, sec):|Divider "
- "(integer 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 "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 [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 Outport
- Name "Bin鋜signal"
- Position [200, 25, 220, 45]
- }
- Block {
- BlockType Outport
- Name "Symbol"
- Position [200, 70, 220, 90]
- Port "2"
- }
- Line {
- SrcBlock "Source"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "Fcn"
- DstPort 1
- }
- Branch {
- Points [0, -45]
- DstBlock "Bin鋜signal"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Fcn"
- SrcPort 1
- DstBlock "Symbol"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [795, 125, 815, 145]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Switch
- Name "Switch1"
- Position [360, 224, 390, 256]
- ShowName off
- Threshold "1"
- }
- Block {
- BlockType Switch
- Name "Switch2"
- Position [365, 19, 395, 51]
- ShowName off
- Threshold "1"
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay"
- Position [275, 215, 315, 245]
- ShowName off
- DelayTime ".999"
- BufferSize "200"
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay1"
- Position [275, 30, 315, 60]
- ShowName off
- DelayTime ".999"
- BufferSize "200"
- }
- Block {
- BlockType Scope
- Name "a(t)"
- Ports [1]
- Position [95, 65, 125, 95]
- Orientation "up"
- Location [358, 341, 1280, 441]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-3.000000"
- YMax "3.000000"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "closetransmitter"
- Ports []
- Position [855, 25, 990, 51]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "closmskt"
- 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 "d(t)"
- Ports [1]
- Position [180, 65, 210, 95]
- Orientation "up"
- Location [66, 229, 980, 372]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.5"
- YMin "-3"
- YMax "3"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "differentialnprecoding"
- Ports [1, 1]
- Position [140, 103, 170, 157]
- ShowPortLabels off
- TreatAsAtomicUnit off
- System {
- Name "differentialnprecoding"
- Location [163, 347, 403, 607]
- 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 [30, 25, 50, 45]
- }
- Block {
- BlockType Fcn
- Name "Fcn4"
- Position [80, 209, 140, 231]
- ShowName off
- Expr "1-2*u"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [110, 28, 140, 52]
- ShowName off
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [115, 138, 145, 162]
- Orientation "left"
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "PulsenGenerator"
- Ports [0, 1]
- Position [25, 202, 60, 238]
- ShowName off
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "Pulse Generator"
- MaskDescription "Pulse Generator."
- MaskHelp "Pulse generator which ensures pulse\nt"
- "ransitions are hit. Provides a vector of pulses when the height is entered as"
- " a vector.\nUnmask to see how it works."
- MaskPromptString "Pulse period (secs):|Pulse width:|Pulse"
- " height:|Pulse start time:"
- 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 "Ts=@1; du=@2; ht=@3; stt=@4; ini=ones(l"
- "ength(ht),1); st1=rem(stt,Ts); st2=rem(stt+du,Ts);if(Ts<=1.2*du),ini=zeros(le"
- "ngth(ht),1);end;"
- MaskDisplay "plot(0,0,100,100,[90,75,75,60,60,35,35,"
- "20,20,10],[20,20,80,80,20,20,80,80,20,20])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "2|1|1|0"
- System {
- Name "PulsenGenerator"
- Location [158, 441, 759, 682]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Clock
- Name "Clock1"
- Position [295, 100, 315, 120]
- ShowName off
- Decimation "10"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [25, 30, 45, 50]
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [295, 149, 320, 171]
- Value "stt"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [510, 102, 535, 128]
- ShowName off
- Gain "ht"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator"
- Ports [2, 1]
- Position [285, 38, 315, 62]
- Operator "XOR"
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator1"
- Ports [1, 1]
- Position [355, 38, 385, 62]
- Operator "NOT"
- Inputs "1"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [455, 105, 480, 125]
- ShowName off
- }
- Block {
- BlockType RelationalOperator
- Name "Relationalnoperator"
- Position [370, 102, 400, 133]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [135, 35, 155, 55]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [130, 120, 150, 140]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [145, 75, 195, 95]
- Orientation "left"
- SampleTime "[Ts,st1]"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [140, 165, 190, 185]
- Orientation "left"
- X0 "ini"
- SampleTime "[Ts,st2]"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [560, 105, 580, 125]
- ShowName off
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [90, 0; 0, -75]
- DstBlock "LogicalnOperator"
- DstPort 2
- }
- Branch {
- Points [55, 0; 0, 45]
- DstBlock "Unit Delay1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 1
- }
- Branch {
- Points [70, 0; 0, 40]
- DstBlock "Unit Delay"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [20, 0; 0, 85]
- DstBlock "Sum1"
- DstPort 1
- }
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- Points [-35, 0; 0, -40]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- Points [-35, 0; 0, -35]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Clock1"
- SrcPort 1
- DstBlock "Relationalnoperator"
- DstPort 1
- }
- Line {
- SrcBlock "Relationalnoperator"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "out_1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Relationalnoperator"
- DstPort 2
- }
- Line {
- SrcBlock "LogicalnOperator"
- SrcPort 1
- DstBlock "LogicalnOperator1"
- DstPort 1
- }
- Line {
- SrcBlock "LogicalnOperator1"
- SrcPort 1
- Points [40, 0; 0, 60]
- DstBlock "Product"
- DstPort 1
- }
- }
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [135, 90, 185, 110]
- Orientation "down"
- ShowName off
- X0 "1"
- }
- Block {
- BlockType Scope
- Name "a(t-1)"
- Ports [1]
- Position [25, 135, 55, 165]
- Orientation "left"
- Location [354, 304, 1267, 404]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-1.500000"
- YMax "1.500000"
- DataFormat "Array"
- }
- Block {
- BlockType Outport
- Name "out_1"
- Position [190, 30, 210, 50]
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [-25, 0]
- Branch {
- DstBlock "a(t-1)"
- DstPort 1
- }
- Branch {
- Points [0, -105]
- DstBlock "Product"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "out_1"
- DstPort 1
- }
- Branch {
- DstBlock "Unit Delay"
- DstPort 1
- }
- }
- Line {
- SrcBlock "in_1"
- SrcPort 1
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "PulsenGenerator"
- SrcPort 1
- DstBlock "Fcn4"
- DstPort 1
- }
- Line {
- SrcBlock "Fcn4"
- SrcPort 1
- Points [15, 0]
- DstBlock "Product1"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "phase"
- Ports [2, 1]
- Position [895, 191, 930, 229]
- ShowPortLabels off
- TreatAsAtomicUnit off
- MaskType "[x,y]->[r,theta]"
- MaskDescription "Tranformation from cartesian to polarncoor"
- "dinates.nr=sqrt(x^2+y^2), theta=atan(y/x)"
- MaskHelp "Unmask this block for more help."
- MaskDisplay "plot(0,0,100,100,[24,20,15,20,20],[85,95,85"
- ",95,20],[80,20,95,85,95,85],[70,20,20,15,20,24],[56,56,55,52,50,46],[20,26,31"
- ",35,38,42])"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "phase"
- Location [0, 74, 359, 280]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "x"
- Position [20, 70, 40, 90]
- }
- Block {
- BlockType Inport
- Name "y"
- Position [20, 129, 40, 151]
- Port "2"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [75, 96, 105, 129]
- Inputs "2"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [290, 75, 310, 95]
- }
- Block {
- BlockType Fcn
- Name "x->r"
- Position [155, 72, 260, 98]
- Expr "hypot(u[1],u[2])"
- }
- Block {
- BlockType Fcn
- Name "x->theta"
- Position [160, 129, 265, 151]
- Expr "atan2(u[2],u[1])"
- }
- Block {
- BlockType Outport
- Name "theta"
- Position [295, 130, 315, 150]
- }
- Line {
- SrcBlock "x->theta"
- SrcPort 1
- DstBlock "theta"
- DstPort 1
- }
- Line {
- SrcBlock "y"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "x"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "x->r"
- SrcPort 1
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [15, 0]
- Branch {
- Points [0, -30]
- DstBlock "x->r"
- DstPort 1
- }
- Branch {
- Points [0, 25]
- DstBlock "x->theta"
- DstPort 1
- }
- }
- Annotation {
- Name "Cartesian to Polar"
- Position [167, 37]
- VerticalAlignment "top"
- }
- }
- }
- Block {
- BlockType Scope
- Name "phi(t)"
- Ports [1]
- Position [960, 220, 990, 250]
- Location [358, 924, 1280, 1024]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "25.000000"
- YMin "-3.141593"
- YMax "3.141593"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "s_c(t)"
- Ports [1]
- Position [560, 60, 590, 90]
- Orientation "down"
- Location [83, 542, 999, 687]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.5"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "s_s(t)"
- Ports [1]
- Position [565, 185, 595, 215]
- Orientation "up"
- Location [84, 540, 998, 684]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.5"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "transmitterndiagrams"
- Ports [2]
- Position [695, 115, 750, 155]
- 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 "1|40|0"
- System {
- Name "transmitterndiagrams"
- Location [558, 225, 970, 518]
- 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 [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 [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 [885, 65, 915, 95]
- Orientation "up"
- Location [358, 838, 1280, 938]
- 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 [805, 30, 835, 60]
- Location [82, 542, 998, 686]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.5"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "u_s(t)"
- Ports [1]
- Position [810, 215, 840, 245]
- Location [81, 541, 999, 687]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.5"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType Outport
- Name "Symbol"
- Position [100, 215, 120, 235]
- }
- Block {
- BlockType Outport
- Name "Outport"
- Position [955, 125, 975, 145]
- Port "2"
- }
- Block {
- BlockType Outport
- Name "Binary data"
- Position [100, 10, 120, 30]
- Port "3"
- }
- Block {
- BlockType Outport
- Name "phase1"
- Position [965, 175, 985, 195]
- Port "4"
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [80, 0]
- Branch {
- DstBlock "Outport"
- DstPort 1
- }
- Branch {
- DstBlock "u(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product3"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "u_c(t)"
- DstPort 1
- }
- Branch {
- Points [0, 85]
- DstBlock "Sum"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Product4"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "s_c(t)"
- DstPort 1
- }
- Branch {
- Points [95, 0]
- Branch {
- DstBlock "Product3"
- DstPort 1
- }
- Branch {
- Points [0, 60]
- Branch {
- Points [0, 25]
- DstBlock "transmitterndiagrams"
- DstPort 1
- }
- Branch {
- Points [200, 0; 0, 100]
- DstBlock "phase"
- DstPort 1
- }
- }
- }
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "u_s(t)"
- DstPort 1
- }
- Branch {
- Points [0, -90]
- DstBlock "Sum"
- DstPort 2
- }
- }
- Line {
- SrcBlock "TransportnDelay"
- SrcPort 1
- DstBlock "Switch1"
- DstPort 1
- }
- Line {
- SrcBlock "differentialnprecoding"
- SrcPort 1
- Points [0, 0]
- Branch {
- Points [60, 0; 0, 120; 25, 0]
- Branch {
- DstBlock "Switch1"
- DstPort 3
- }
- Branch {
- DstBlock "TransportnDelay"
- DstPort 1
- }
- }
- Branch {
- Points [20, 0]
- Branch {
- Points [40, 0; 0, -105; 25, 0]
- Branch {
- DstBlock "Switch2"
- DstPort 1
- }
- Branch {
- DstBlock "TransportnDelay1"
- DstPort 1
- }
- }
- Branch {
- DstBlock "d(t)"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Clock"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, 45]
- DstBlock "Fcn3"
- DstPort 1
- }
- Branch {
- Points [110, 0]
- Branch {
- Points [0, -15]
- DstBlock "Fcn1"
- DstPort 1
- }
- Branch {
- Points [0, 20]
- DstBlock "Fcn2"
- DstPort 1
- }
- }
- Branch {
- Points [0, -50]
- DstBlock "Fcn"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Switch2"
- SrcPort 1
- DstBlock "Product4"
- DstPort 1
- }
- Line {
- SrcBlock "Switch1"
- SrcPort 1
- DstBlock "Product5"
- DstPort 2
- }
- Line {
- SrcBlock "TransportnDelay1"
- SrcPort 1
- DstBlock "Switch2"
- DstPort 3
- }
- Line {
- SrcBlock "Fcn"
- SrcPort 1
- Points [10, 0; 0, -40]
- DstBlock "Product4"
- DstPort 2
- }
- Line {
- SrcBlock "Fcn3"
- SrcPort 1
- Points [10, 0; 0, 50]
- DstBlock "Product5"
- DstPort 1
- }
- Line {
- SrcBlock "Fcn1"
- SrcPort 1
- Points [5, 0; 0, -70]
- DstBlock "Product3"
- DstPort 2
- }
- Line {
- SrcBlock "Fcn2"
- SrcPort 1
- Points [5, 0; 0, 70]
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "Product5"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [90, 0]
- Branch {
- DstBlock "Product2"
- DstPort 2
- }
- Branch {
- Points [0, -55]
- Branch {
- Points [0, -35]
- DstBlock "transmitterndiagrams"
- DstPort 2
- }
- Branch {
- Points [185, 0; 0, 40]
- DstBlock "phase"
- DstPort 2
- }
- }
- }
- Branch {
- DstBlock "s_s(t)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "PulsenGenerator1"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, -105]
- DstBlock "Switch2"
- DstPort 2
- }
- Branch {
- Points [0, 100]
- DstBlock "Switch1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Source"
- SrcPort 2
- Points [15, 0]
- Branch {
- Points [0, 95]
- DstBlock "Symbol"
- DstPort 1
- }
- Branch {
- Points [40, 0]
- Branch {
- DstBlock "differentialnprecoding"
- DstPort 1
- }
- Branch {
- DstBlock "a(t)"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Source"
- SrcPort 1
- Points [15, 0; 0, -85]
- DstBlock "Binary data"
- DstPort 1
- }
- Line {
- SrcBlock "phase"
- SrcPort 1
- Points [0, 10; 10, 0]
- Branch {
- DstBlock "phi(t)"
- DstPort 1
- }
- Branch {
- Points [0, -35]
- DstBlock "phase1"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType Scope
- Name "a(t)"
- Ports [1]
- Position [320, 25, 350, 55]
- Orientation "up"
- NamePlacement "alternate"
- Location [93, 430, 1012, 582]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- List {
- ListType SelectedSignals
- axes1 ""
- }
- TimeRange "12.500000"
- YMin "-3"
- YMax "3"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "noise variance"
- Ports []
- Position [454, 45, 560, 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 "phi(t)"
- Ports [1]
- Position [285, 185, 315, 215]
- Orientation "down"
- NamePlacement "alternate"
- Location [97, 78, 1014, 226]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- List {
- ListType SelectedSignals
- axes1 ""
- }
- TimeRange "12.500000"
- YMin "-3.14159"
- YMax "3.14159"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "r(t)"
- Ports [1]
- Position [590, 25, 620, 55]
- Orientation "up"
- Location [227, 640, 1147, 740]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- TimeRange "12.500000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType SubSystem
- Name "show receiver"
- Ports []
- Position [800, 110, 935, 136]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "showmskr"
- 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, 105, 165, 131]
- BackgroundColor "lightBlue"
- ShowName off
- OpenFcn "showmskt"
- 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 "u(t)"
- Ports [1]
- Position [390, 25, 420, 55]
- Orientation "up"
- Location [81, 540, 999, 688]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- List {
- ListType SelectedSignals
- axes1 ""
- }
- TimeRange "12.500000"
- YMin "-1.5"
- YMax "1.5"
- DataFormat "Array"
- }
- Block {
- BlockType Scope
- Name "v(t)"
- Ports [1]
- Position [750, 20, 780, 50]
- Orientation "up"
- NamePlacement "alternate"
- Location [99, 640, 1019, 762]
- Open off
- NumInputPorts "1"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- }
- List {
- ListType SelectedSignals
- axes1 ""
- }
- TimeRange "12.500000"
- YMin "-3"
- YMax "3"
- DataFormat "Array"
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 2
- Points [140, 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 "Transmitter"
- SrcPort 1
- Points [70, 0]
- DstBlock "a(t)"
- DstPort 1
- }
- Line {
- SrcBlock "Receiver"
- SrcPort 1
- Points [40, 0]
- DstBlock "v(t)"
- DstPort 1
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 4
- Points [35, 0]
- DstBlock "phi(t)"
- DstPort 1
- }
- Line {
- SrcBlock "Receiver"
- SrcPort 2
- Points [40, 0; 0, 50; -240, 0]
- DstBlock "Error rate"
- DstPort 2
- }
- Line {
- SrcBlock "Transmitter"
- SrcPort 3
- Points [140, 0; 0, 50; 80, 0]
- DstBlock "Error rate"
- DstPort 1
- }
- }
- }