Model { Name "fading" Version 2.09 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0" StopTime "48" Solver FixedStepDiscrete RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "0.01" MaxOrder 5 OutputOption RefineOutputTimes OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off BlockDefaults { Orientation right ForegroundColor black BackgroundColor white DropShadow off NamePlacement normal FontName "Helvetica" FontSize 10 FontWeight normal FontAngle normal ShowName on } 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 "fading" Location [71, 240, 611, 643] Open on ScreenColor white Block { BlockType Scope Name "Delay" Ports [1, 0, 0, 0, 0] Position [455, 270, 485, 310] Floating off Location [564, 254, 888, 493] Open on Grid on TickLabels on ZoomMode yonly TimeRange "50" YMin "0" YMax "40" SaveToWorkspace off SaveName "ScopeData" LimitMaxRows off MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [365, 272, 400, 308] Inputs "2" } Block { BlockType RandomNumber Name "Random\nNumber" Position [140, 290, 170, 320] Mean "20" Variance "5" Seed "2" SampleTime "2" } Block { BlockType RandomNumber Name "Random\nNumber1" Position [140, 165, 170, 195] NamePlacement alternate Mean "20" Variance "0.001" Seed "1" SampleTime "2" } Block { BlockType Scope Name "Signal" Ports [1, 0, 0, 0, 0] Position [370, 160, 400, 200] Floating off Location [323, 519, 647, 758] Open on Grid on TickLabels on ZoomMode xonly TimeRange "50" YMin "-2.5" YMax "2.5" SaveToWorkspace off SaveName "ScopeData" LimitMaxRows off MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sin Name "Sine Wave\nPath 1" Position [95, 90, 125, 120] Amplitude "1" Frequency "30" Phase "0" SampleTime "0.01" } Block { BlockType Sin Name "Sine Wave\nPath 2" Position [95, 235, 125, 265] Amplitude "1" Frequency "10" Phase "0" SampleTime ".01" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [275, 162, 305, 193] Inputs "++" } Block { BlockType VariableTransportDelay Name "Variable\nTransport Delay" Position [200, 242, 230, 273] MaximumDelay "50" InitialInput "0" MaximumPoints "2048" } Block { BlockType VariableTransportDelay Name "Variable\nTransport Delay1" Position [200, 95, 235, 130] NamePlacement alternate MaximumDelay "50" InitialInput "0" MaximumPoints "2048" } Line { SrcBlock "Random\nNumber" SrcPort 1 Points [0, 0] Branch { Points [120, 0; 0, -25] DstBlock "Mux" DstPort 1 } Branch { Points [0, -40] DstBlock "Variable\nTransport Delay" DstPort 2 } } Line { SrcBlock "Variable\nTransport Delay" SrcPort 1 Points [10, 0; 0, -75] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Random\nNumber1" SrcPort 1 Points [5, 0] Branch { Points [0, 35; -120, 0; 0, 150; 280, 0; 0, -65] DstBlock "Mux" DstPort 2 } Branch { Points [0, -60] DstBlock "Variable\nTransport Delay1" DstPort 2 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Sine Wave\nPath 1" SrcPort 1 DstBlock "Variable\nTransport Delay1" DstPort 1 } Line { Labels [1, 0] SrcBlock "Variable\nTransport Delay1" SrcPort 1 Points [5, 0; 0, 55] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sine Wave\nPath 2" SrcPort 1 DstBlock "Variable\nTransport Delay" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Signal" DstPort 1 } Annotation { Position [284, 34] ForegroundColor red FontSize 14 FontWeight bold Text "A Simple Model of Fading in a Mobile Communicati" "on System" } } }