Model { Name "tberrand" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Tue Oct 20 09:13:03 1998" Creator "tdelve" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "ysong" ModifiedDateFormat "%" LastModifiedDate "Wed Aug 23 09:41:52 2000" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "999" SolverMode "SingleTasking" Solver "VariableStepDiscrete" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off ExtModeLogAll on OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off BooleanDataType 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 "tberrand" Location [290, 234, 751, 563] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "1st element expected value" Position [185, 66, 290, 84] Value "[1-.25, sqrt(.25*.75)]" VectorParams1D on } Block { BlockType Constant Name "2nd element expected value" Position [180, 175, 285, 195] Value "[1-.75, sqrt(.25*.75)]" VectorParams1D on } Block { BlockType Reference Name "Bernoulli random\nbinary generator" Ports [0, 1] Position [15, 88, 95, 132] SourceBlock "com_sour/Bernoulli random\nbinary generator" SourceType "Bernoulli binary random number generator" p "[.25 .75]" seed "[12345]" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [115, 92, 150, 128] ShowName off Outputs "2" BusSelectionMode off } Block { BlockType Reference Name "Graph" Ports [1] Position [385, 31, 415, 69] ShowName off SourceBlock "com_sour/Graph" SourceType "Graph scope." tr "20" ym "0" yma ".85" color "'r-/g--/r-./g:/m*/ro/b+'" } Block { BlockType Reference Name "Graph1" Ports [1] Position [385, 141, 415, 179] ShowName off SourceBlock "com_sour/Graph" SourceType "Graph scope." tr "20" ym "0" yma ".85" color "'r-/g--/r-./g:/m*/ro/b+'" } Block { BlockType Reference Name "Mean and std" Ports [1, 2] Position [190, 18, 270, 62] ShowName off SourceBlock "com_util/Mean and std" SourceType "Running mean and std" Ts ".1" } Block { BlockType Reference Name "Mean and std1" Ports [1, 2] Position [190, 128, 270, 172] ShowName off SourceBlock "com_util/Mean and std" SourceType "Running mean and std" Ts ".1" } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [315, 22, 350, 78] ShowName off Inputs "3" DisplayOption "none" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [315, 132, 350, 188] ShowName off Inputs "3" DisplayOption "none" } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 30] DstBlock "Mean and std1" DstPort 1 } Line { SrcBlock "Mean and std1" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Mean and std1" SrcPort 2 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Graph1" DstPort 1 } Line { SrcBlock "2nd element expected value" SrcPort 1 Points [5, 0; 0, -5] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Demux" SrcPort 1 Points [10, 0; 0, -60] DstBlock "Mean and std" DstPort 1 } Line { SrcBlock "Bernoulli random\nbinary generator" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Mean and std" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mean and std" SrcPort 2 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Graph" DstPort 1 } Line { SrcBlock "1st element expected value" SrcPort 1 Points [0, -5] DstBlock "Mux" DstPort 3 } Annotation { Position [185, 252] Text "The standard deviation is sqrt(p*(1-p))" } Annotation { Position [221, 234] Text "The mean value for Bernoulli distributed number" " is 1-p" } Annotation { Position [230, 312] Text "Warning: This model is obsolete and may be remo" "ved in the future." FontName "Arial" FontSize 12 } } }