enlace.mdl
上传用户:asli888
上传日期:2013-05-03
资源大小:7045k
文件大小:35k
源码类别:

matlab例程

开发平台:

Matlab

  1. Model {
  2.   Name   "enlace"
  3.   Version   4.00
  4.   SampleTimeColors   off
  5.   LibraryLinkDisplay   "none"
  6.   WideLines   off
  7.   ShowLineDimensions   off
  8.   ShowPortDataTypes   off
  9.   RecordCoverage   off
  10.   CovPath   "/"
  11.   CovSaveName   "covdata"
  12.   CovNameIncrementing   off
  13.   CovHtmlReporting   on
  14.   BlockNameDataTip   off
  15.   BlockParametersDataTip  off
  16.   BlockDescriptionStringDataTip off
  17.   ToolBar   on
  18.   StatusBar   on
  19.   BrowserShowLibraryLinks off
  20.   BrowserLookUnderMasks   off
  21.   Created   "Sun Apr 27 13:58:59 2003"
  22.   UpdateHistory   "UpdateHistoryNever"
  23.   ModifiedByFormat   "%<Auto>"
  24.   ModifiedDateFormat   "%<Auto>"
  25.   LastModifiedDate   "Wed Apr 30 07:29:42 2003"
  26.   ModelVersionFormat   "1.%<AutoIncrement:51>"
  27.   ConfigurationManager   "none"
  28.   SimParamPage   "Solver"
  29.   StartTime   "0.0"
  30.   StopTime   "10.0"
  31.   SolverMode   "Auto"
  32.   Solver   "ode45"
  33.   RelTol   "1e-3"
  34.   AbsTol   "auto"
  35.   Refine   "1"
  36.   MaxStep   "auto"
  37.   MinStep   "auto"
  38.   MaxNumMinSteps   "-1"
  39.   InitialStep   "auto"
  40.   FixedStep   "auto"
  41.   MaxOrder   5
  42.   OutputOption   "RefineOutputTimes"
  43.   OutputTimes   "[]"
  44.   LoadExternalInput   off
  45.   ExternalInput   "[t, u]"
  46.   SaveTime   on
  47.   TimeSaveName   "tout"
  48.   SaveState   off
  49.   StateSaveName   "xout"
  50.   SaveOutput   on
  51.   OutputSaveName   "yout"
  52.   LoadInitialState   off
  53.   InitialState   "xInitial"
  54.   SaveFinalState   off
  55.   FinalStateName   "xFinal"
  56.   SaveFormat   "Array"
  57.   LimitDataPoints   on
  58.   MaxDataPoints   "1000"
  59.   Decimation   "1"
  60.   AlgebraicLoopMsg   "warning"
  61.   MinStepSizeMsg   "warning"
  62.   UnconnectedInputMsg   "warning"
  63.   UnconnectedOutputMsg   "warning"
  64.   UnconnectedLineMsg   "warning"
  65.   InheritedTsInSrcMsg   "warning"
  66.   SingleTaskRateTransMsg  "none"
  67.   MultiTaskRateTransMsg   "error"
  68.   IntegerOverflowMsg   "warning"
  69.   CheckForMatrixSingularity "none"
  70.   UnnecessaryDatatypeConvMsg "none"
  71.   Int32ToFloatConvMsg   "warning"
  72.   SignalLabelMismatchMsg  "none"
  73.   LinearizationMsg   "none"
  74.   VectorMatrixConversionMsg "none"
  75.   SfunCompatibilityCheckMsg "none"
  76.   BlockPriorityViolationMsg "warning"
  77.   ArrayBoundsChecking   "none"
  78.   ConsistencyChecking   "none"
  79.   ZeroCross   on
  80.   Profile   off
  81.   SimulationMode   "normal"
  82.   RTWSystemTargetFile   "grt.tlc"
  83.   RTWInlineParameters   off
  84.   RTWRetainRTWFile   off
  85.   RTWTemplateMakefile   "grt_default_tmf"
  86.   RTWMakeCommand   "make_rtw"
  87.   RTWGenerateCodeOnly   off
  88.   TLCProfiler   off
  89.   TLCDebug   off
  90.   TLCCoverage   off
  91.   AccelSystemTargetFile   "accel.tlc"
  92.   AccelTemplateMakefile   "accel_default_tmf"
  93.   AccelMakeCommand   "make_rtw"
  94.   ExtModeMexFile   "ext_comm"
  95.   ExtModeBatchMode   off
  96.   ExtModeTrigType   "manual"
  97.   ExtModeTrigMode   "normal"
  98.   ExtModeTrigPort   "1"
  99.   ExtModeTrigElement   "any"
  100.   ExtModeTrigDuration   1000
  101.   ExtModeTrigHoldOff   0
  102.   ExtModeTrigDelay   0
  103.   ExtModeTrigDirection   "rising"
  104.   ExtModeTrigLevel   0
  105.   ExtModeArchiveMode   "off"
  106.   ExtModeAutoIncOneShot   off
  107.   ExtModeIncDirWhenArm   off
  108.   ExtModeAddSuffixToVar   off
  109.   ExtModeWriteAllDataToWs off
  110.   ExtModeArmWhenConnect   on
  111.   ExtModeLogAll   on
  112.   OptimizeBlockIOStorage  on
  113.   BufferReuse   on
  114.   ParameterPooling   on
  115.   BlockReductionOpt   off
  116.   BooleanDataType   off
  117.   BlockDefaults {
  118.     Orientation     "right"
  119.     ForegroundColor     "black"
  120.     BackgroundColor     "white"
  121.     DropShadow     off
  122.     NamePlacement     "normal"
  123.     FontName     "Helvetica"
  124.     FontSize     10
  125.     FontWeight     "normal"
  126.     FontAngle     "normal"
  127.     ShowName     on
  128.   }
  129.   AnnotationDefaults {
  130.     HorizontalAlignment     "center"
  131.     VerticalAlignment     "middle"
  132.     ForegroundColor     "black"
  133.     BackgroundColor     "white"
  134.     DropShadow     off
  135.     FontName     "Helvetica"
  136.     FontSize     10
  137.     FontWeight     "normal"
  138.     FontAngle     "normal"
  139.   }
  140.   LineDefaults {
  141.     FontName     "Helvetica"
  142.     FontSize     9
  143.     FontWeight     "normal"
  144.     FontAngle     "normal"
  145.   }
  146.   System {
  147.     Name     "enlace"
  148.     Location     [2, 70, 782, 552]
  149.     Open     on
  150.     ModelBrowserVisibility  off
  151.     ModelBrowserWidth     200
  152.     ScreenColor     "automatic"
  153.     PaperOrientation     "landscape"
  154.     PaperPositionMode     "auto"
  155.     PaperType     "usletter"
  156.     PaperUnits     "inches"
  157.     ZoomFactor     "100"
  158.     AutoZoom     on
  159.     ReportName     "simulink-default.rpt"
  160.     Block {
  161.       BlockType       Display
  162.       Name       "Azimut [篯"
  163.       Ports       [1]
  164.       Position       [335, 57, 425, 83]
  165.       BackgroundColor       "orange"
  166.       FontName       "Arial"
  167.       FontSize       11
  168.       FontWeight       "bold"
  169.       Format       "bank"
  170.       Decimation       "1"
  171.       Floating       off
  172.       SampleTime       "-1"
  173.     }
  174.     Block {
  175.       BlockType       Display
  176.       Name       "Beta [篯"
  177.       Ports       [1]
  178.       Position       [335, 135, 425, 165]
  179.       BackgroundColor       "orange"
  180.       FontName       "Arial"
  181.       FontSize       11
  182.       FontWeight       "bold"
  183.       Format       "bank"
  184.       Decimation       "1"
  185.       Floating       off
  186.       SampleTime       "-1"
  187.     }
  188.     Block {
  189.       BlockType       Display
  190.       Name       "C/No [dB]"
  191.       Ports       [1]
  192.       Position       [335, 293, 465, 327]
  193.       BackgroundColor       "yellow"
  194.       FontSize       16
  195.       FontWeight       "bold"
  196.       FontAngle       "italic"
  197.       Format       "bank"
  198.       Decimation       "1"
  199.       Floating       off
  200.       SampleTime       "-1"
  201.     }
  202.     Block {
  203.       BlockType       Display
  204.       Name       "Distancia n[km]n"
  205.       Ports       [1]
  206.       Position       [335, 215, 425, 245]
  207.       BackgroundColor       "orange"
  208.       FontName       "Arial"
  209.       FontSize       11
  210.       FontWeight       "bold"
  211.       Format       "bank"
  212.       Decimation       "1"
  213.       Floating       off
  214.       SampleTime       "-1"
  215.     }
  216.     Block {
  217.       BlockType       Display
  218.       Name       "FLS [dB]"
  219.       Ports       [1]
  220.       Position       [335, 375, 425, 405]
  221.       BackgroundColor       "orange"
  222.       FontName       "Arial"
  223.       FontSize       11
  224.       FontWeight       "bold"
  225.       Format       "bank"
  226.       Decimation       "1"
  227.       Floating       off
  228.       SampleTime       "-1"
  229.     }
  230.     Block {
  231.       BlockType       Constant
  232.       Name       "Frecuencian[Mhz]"
  233.       Position       [75, 300, 150, 320]
  234.       BackgroundColor       "darkGreen"
  235.       FontName       "Arial"
  236.       FontSize       11
  237.       FontWeight       "bold"
  238.       Value       "0"
  239.       VectorParams1D       off
  240.     }
  241.     Block {
  242.       BlockType       Constant
  243.       Name       "Ganancia Antenan[dB]"
  244.       Position       [75, 541, 150, 559]
  245.       BackgroundColor       "darkGreen"
  246.       FontName       "Arial"
  247.       FontSize       11
  248.       FontWeight       "bold"
  249.       Value       "0"
  250.       VectorParams1D       on
  251.     }
  252.     Block {
  253.       BlockType       Display
  254.       Name       "IRL [dBW]"
  255.       Ports       [1]
  256.       Position       [335, 457, 425, 483]
  257.       BackgroundColor       "orange"
  258.       FontName       "Arial"
  259.       FontSize       11
  260.       FontWeight       "bold"
  261.       Format       "bank"
  262.       Decimation       "1"
  263.       Floating       off
  264.       SampleTime       "-1"
  265.     }
  266.     Block {
  267.       BlockType       Constant
  268.       Name       "Latitud [篯"
  269.       Position       [75, 59, 150, 81]
  270.       BackgroundColor       "darkGreen"
  271.       FontName       "Arial"
  272.       FontSize       11
  273.       FontWeight       "bold"
  274.       Value       "0"
  275.       VectorParams1D       on
  276.     }
  277.     Block {
  278.       BlockType       Constant
  279.       Name       "Lmisc [dB]"
  280.       Position       [75, 461, 150, 479]
  281.       BackgroundColor       "darkGreen"
  282.       FontName       "Arial"
  283.       FontSize       11
  284.       FontWeight       "bold"
  285.       Value       "0"
  286.       VectorParams1D       on
  287.     }
  288.     Block {
  289.       BlockType       Constant
  290.       Name       "Longitud [篯"
  291.       Position       [75, 140, 150, 160]
  292.       BackgroundColor       "darkGreen"
  293.       FontName       "Arial"
  294.       FontSize       11
  295.       FontWeight       "bold"
  296.       Value       "0"
  297.       VectorParams1D       on
  298.     }
  299.     Block {
  300.       BlockType       Display
  301.       Name       "PIRE [dB]"
  302.       Ports       [1]
  303.       Position       [335, 537, 425, 563]
  304.       BackgroundColor       "orange"
  305.       FontName       "Arial"
  306.       FontSize       11
  307.       FontWeight       "bold"
  308.       Format       "bank"
  309.       Decimation       "1"
  310.       Floating       off
  311.       SampleTime       "-1"
  312.     }
  313.     Block {
  314.       BlockType       Constant
  315.       Name       "PotenciaTx [W]"
  316.       Position       [75, 381, 150, 399]
  317.       BackgroundColor       "darkGreen"
  318.       FontName       "Arial"
  319.       FontSize       11
  320.       FontWeight       "bold"
  321.       Value       "0"
  322.       VectorParams1D       on
  323.     }
  324.     Block {
  325.       BlockType       SubSystem
  326.       Name       "Subsystem"
  327.       Ports       [7, 7]
  328.       Position       [180, 36, 300, 584]
  329.       BackgroundColor       "blue"
  330.       DropShadow       on
  331.       ShowName       off
  332.       FontName       "Arial"
  333.       FontSize       14
  334.       FontWeight       "bold"
  335.       ShowPortLabels       on
  336.       TreatAsAtomicUnit       off
  337.       RTWSystemCode       "Auto"
  338.       RTWFcnNameOpts       "Auto"
  339.       RTWFileNameOpts       "Auto"
  340.       MaskIconFrame       on
  341.       MaskIconOpaque       on
  342.       MaskIconRotate       "none"
  343.       MaskIconUnits       "autoscale"
  344.       System {
  345. Name "Subsystem"
  346. Location [2, 70, 798, 552]
  347. Open on
  348. ModelBrowserVisibility off
  349. ModelBrowserWidth 212
  350. ScreenColor "automatic"
  351. PaperOrientation "landscape"
  352. PaperPositionMode "auto"
  353. PaperType "usletter"
  354. PaperUnits "inches"
  355. ZoomFactor "100"
  356. AutoZoom on
  357. Block {
  358.   BlockType   Inport
  359.   Name   "Lat"
  360.   Position   [25, 138, 55, 152]
  361.   BackgroundColor   "darkGreen"
  362.   FontName   "Arial"
  363.   FontSize   11
  364.   FontWeight   "bold"
  365.   FontAngle   "italic"
  366.   Port   "1"
  367.   Interpolate   on
  368. }
  369. Block {
  370.   BlockType   Inport
  371.   Name   "Long"
  372.   Position   [25, 168, 55, 182]
  373.   BackgroundColor   "darkGreen"
  374.   FontName   "Arial"
  375.   FontSize   11
  376.   FontWeight   "bold"
  377.   FontAngle   "italic"
  378.   Port   "2"
  379.   Interpolate   on
  380. }
  381. Block {
  382.   BlockType   Inport
  383.   Name   "T"
  384.   Position   [395, 138, 425, 152]
  385.   BackgroundColor   "lightBlue"
  386.   FontName   "Arial"
  387.   FontSize   11
  388.   FontWeight   "bold"
  389.   FontAngle   "italic"
  390.   Port   "3"
  391.   Interpolate   on
  392. }
  393. Block {
  394.   BlockType   Inport
  395.   Name   "Freq"
  396.   Position   [205, 238, 235, 252]
  397.   BackgroundColor   "darkGreen"
  398.   FontName   "Arial"
  399.   FontSize   11
  400.   FontWeight   "bold"
  401.   FontAngle   "italic"
  402.   Port   "4"
  403.   Interpolate   on
  404. }
  405. Block {
  406.   BlockType   Inport
  407.   Name   "PTx"
  408.   Position   [175, 368, 205, 382]
  409.   BackgroundColor   "darkGreen"
  410.   FontName   "Arial"
  411.   FontSize   11
  412.   FontWeight   "bold"
  413.   FontAngle   "italic"
  414.   Port   "5"
  415.   Interpolate   on
  416. }
  417. Block {
  418.   BlockType   Inport
  419.   Name   "Lmisc"
  420.   Position   [175, 398, 205, 412]
  421.   BackgroundColor   "darkGreen"
  422.   FontName   "Arial"
  423.   FontSize   11
  424.   FontWeight   "bold"
  425.   FontAngle   "italic"
  426.   Port   "6"
  427.   Interpolate   on
  428. }
  429. Block {
  430.   BlockType   Inport
  431.   Name   "Ga"
  432.   Position   [175, 338, 205, 352]
  433.   BackgroundColor   "darkGreen"
  434.   FontName   "Arial"
  435.   FontSize   11
  436.   FontWeight   "bold"
  437.   FontAngle   "italic"
  438.   Port   "7"
  439.   Interpolate   on
  440. }
  441. Block {
  442.   BlockType   SubSystem
  443.   Name   "Beta "
  444.   Ports   [2, 1]
  445.   Position   [95, 129, 140, 191]
  446.   BackgroundColor   "blue"
  447.   ShowPortLabels   on
  448.   TreatAsAtomicUnit   off
  449.   RTWSystemCode   "Auto"
  450.   RTWFcnNameOpts   "Auto"
  451.   RTWFileNameOpts   "Auto"
  452.   System {
  453.     Name     "Beta "
  454.     Location     [115, 236, 609, 384]
  455.     Open     off
  456.     ModelBrowserVisibility  off
  457.     ModelBrowserWidth     200
  458.     ScreenColor     "automatic"
  459.     PaperOrientation     "landscape"
  460.     PaperPositionMode     "auto"
  461.     PaperType     "usletter"
  462.     PaperUnits     "inches"
  463.     ZoomFactor     "100"
  464.     AutoZoom     on
  465.     Block {
  466.       BlockType       Inport
  467.       Name       "Lat"
  468.       Position       [35, 38, 65, 52]
  469.       BackgroundColor       "lightBlue"
  470.       Port       "1"
  471.       Interpolate       on
  472.     }
  473.     Block {
  474.       BlockType       Inport
  475.       Name       "Long"
  476.       Position       [35, 98, 65, 112]
  477.       BackgroundColor       "lightBlue"
  478.       Port       "2"
  479.       Interpolate       on
  480.     }
  481.     Block {
  482.       BlockType       Trigonometry
  483.       Name       "Beta1"
  484.       Ports       [1, 1]
  485.       Position       [305, 60, 335, 90]
  486.       ShowName       off
  487.       Operator       "acos"
  488.       OutputSignalType       "auto"
  489.     }
  490.     Block {
  491.       BlockType       Product
  492.       Name       "Product"
  493.       Ports       [2, 1]
  494.       Position       [230, 56, 275, 89]
  495.       NamePlacement       "alternate"
  496.       ShowName       off
  497.       Inputs       "2"
  498.       Multiplication       "Element-wise(.*)"
  499.       SaturateOnIntegerOverflow on
  500.     }
  501.     Block {
  502.       BlockType       Trigonometry
  503.       Name       "TrigonometricnFunction"
  504.       Ports       [1, 1]
  505.       Position       [155, 30, 185, 60]
  506.       ShowName       off
  507.       Operator       "cos"
  508.       OutputSignalType       "auto"
  509.     }
  510.     Block {
  511.       BlockType       Trigonometry
  512.       Name       "TrigonometricnFunction1"
  513.       Ports       [1, 1]
  514.       Position       [155, 90, 185, 120]
  515.       ShowName       off
  516.       Operator       "cos"
  517.       OutputSignalType       "auto"
  518.     }
  519.     Block {
  520.       BlockType       Gain
  521.       Name       "k1"
  522.       Position       [95, 30, 120, 60]
  523.       Gain       "1/(180/pi)"
  524.       Multiplication       "Element-wise(K.*u)"
  525.       SaturateOnIntegerOverflow on
  526.     }
  527.     Block {
  528.       BlockType       Gain
  529.       Name       "k2"
  530.       Position       [95, 90, 120, 120]
  531.       Gain       "1/(180/pi)"
  532.       Multiplication       "Element-wise(K.*u)"
  533.       SaturateOnIntegerOverflow on
  534.     }
  535.     Block {
  536.       BlockType       Gain
  537.       Name       "k3"
  538.       Position       [370, 60, 400, 90]
  539.       Gain       "180/pi"
  540.       Multiplication       "Element-wise(K.*u)"
  541.       SaturateOnIntegerOverflow on
  542.     }
  543.     Block {
  544.       BlockType       Outport
  545.       Name       "Beta"
  546.       Position       [435, 68, 465, 82]
  547.       BackgroundColor       "cyan"
  548.       Port       "1"
  549.       OutputWhenDisabled      "held"
  550.       InitialOutput       "[]"
  551.     }
  552.     Line {
  553.       SrcBlock       "TrigonometricnFunction"
  554.       SrcPort       1
  555.       Points       [25, 0]
  556.       DstBlock       "Product"
  557.       DstPort       1
  558.     }
  559.     Line {
  560.       SrcBlock       "TrigonometricnFunction1"
  561.       SrcPort       1
  562.       Points       [25, 0]
  563.       DstBlock       "Product"
  564.       DstPort       2
  565.     }
  566.     Line {
  567.       SrcBlock       "Product"
  568.       SrcPort       1
  569.       DstBlock       "Beta1"
  570.       DstPort       1
  571.     }
  572.     Line {
  573.       SrcBlock       "Lat"
  574.       SrcPort       1
  575.       DstBlock       "k1"
  576.       DstPort       1
  577.     }
  578.     Line {
  579.       SrcBlock       "Long"
  580.       SrcPort       1
  581.       DstBlock       "k2"
  582.       DstPort       1
  583.     }
  584.     Line {
  585.       SrcBlock       "Beta1"
  586.       SrcPort       1
  587.       DstBlock       "k3"
  588.       DstPort       1
  589.     }
  590.     Line {
  591.       SrcBlock       "k3"
  592.       SrcPort       1
  593.       DstBlock       "Beta"
  594.       DstPort       1
  595.     }
  596.     Line {
  597.       SrcBlock       "k1"
  598.       SrcPort       1
  599.       DstBlock       "TrigonometricnFunction"
  600.       DstPort       1
  601.     }
  602.     Line {
  603.       SrcBlock       "k2"
  604.       SrcPort       1
  605.       DstBlock       "TrigonometricnFunction1"
  606.       DstPort       1
  607.     }
  608.   }
  609. }
  610. Block {
  611.   BlockType   Fcn
  612.   Name   "Distancia"
  613.   Position   [180, 145, 240, 175]
  614.   BackgroundColor   "yellow"
  615.   ShowName   off
  616.   Expr   "sqrt(1819226799.07 - 537942680.207*cos(u*pi"
  617. "/180))"
  618. }
  619. Block {
  620.   BlockType   SubSystem
  621.   Name   "FLS1"
  622.   Ports   [2, 1]
  623.   Position   [275, 200, 325, 260]
  624.   BackgroundColor   "cyan"
  625.   ShowPortLabels   on
  626.   TreatAsAtomicUnit   off
  627.   RTWSystemCode   "Auto"
  628.   RTWFcnNameOpts   "Auto"
  629.   RTWFileNameOpts   "Auto"
  630.   System {
  631.     Name     "FLS1"
  632.     Location     [424, 140, 792, 282]
  633.     Open     off
  634.     ModelBrowserVisibility  off
  635.     ModelBrowserWidth     200
  636.     ScreenColor     "automatic"
  637.     PaperOrientation     "landscape"
  638.     PaperPositionMode     "auto"
  639.     PaperType     "usletter"
  640.     PaperUnits     "inches"
  641.     ZoomFactor     "100"
  642.     AutoZoom     on
  643.     Block {
  644.       BlockType       Inport
  645.       Name       "d"
  646.       Position       [65, 33, 95, 47]
  647.       BackgroundColor       "cyan"
  648.       Port       "1"
  649.       Interpolate       on
  650.     }
  651.     Block {
  652.       BlockType       Inport
  653.       Name       "Frec"
  654.       Position       [65, 98, 95, 112]
  655.       BackgroundColor       "lightBlue"
  656.       Port       "2"
  657.       Interpolate       on
  658.     }
  659.     Block {
  660.       BlockType       Fcn
  661.       Name       "Distancian[millas]1"
  662.       Position       [145, 26, 195, 54]
  663.       ShowName       off
  664.       Expr       "32.44 + 20*log10(u)"
  665.     }
  666.     Block {
  667.       BlockType       Fcn
  668.       Name       "Distancian[millas]2"
  669.       Position       [145, 91, 195, 119]
  670.       ShowName       off
  671.       Expr       "20*log10(u)"
  672.     }
  673.     Block {
  674.       BlockType       Sum
  675.       Name       "Sum"
  676.       Ports       [2, 1]
  677.       Position       [225, 60, 245, 80]
  678.       ShowName       off
  679.       IconShape       "round"
  680.       Inputs       "+|+"
  681.       SaturateOnIntegerOverflow on
  682.     }
  683.     Block {
  684.       BlockType       Outport
  685.       Name       "Fls"
  686.       Position       [270, 63, 300, 77]
  687.       BackgroundColor       "orange"
  688.       Port       "1"
  689.       OutputWhenDisabled      "held"
  690.       InitialOutput       "[]"
  691.     }
  692.     Line {
  693.       SrcBlock       "Distancian[millas]1"
  694.       SrcPort       1
  695.       Points       [35, 0]
  696.       DstBlock       "Sum"
  697.       DstPort       1
  698.     }
  699.     Line {
  700.       SrcBlock       "Distancian[millas]2"
  701.       SrcPort       1
  702.       Points       [35, 0]
  703.       DstBlock       "Sum"
  704.       DstPort       2
  705.     }
  706.     Line {
  707.       SrcBlock       "d"
  708.       SrcPort       1
  709.       DstBlock       "Distancian[millas]1"
  710.       DstPort       1
  711.     }
  712.     Line {
  713.       SrcBlock       "Sum"
  714.       SrcPort       1
  715.       DstBlock       "Fls"
  716.       DstPort       1
  717.     }
  718.     Line {
  719.       SrcBlock       "Frec"
  720.       SrcPort       1
  721.       DstBlock       "Distancian[millas]2"
  722.       DstPort       1
  723.     }
  724.   }
  725. }
  726. Block {
  727.   BlockType   SubSystem
  728.   Name   "Subsystem"
  729.   Ports   [4, 1]
  730.   Position   [480, 136, 535, 214]
  731.   BackgroundColor   "darkGreen"
  732.   ShowName   off
  733.   ShowPortLabels   on
  734.   TreatAsAtomicUnit   off
  735.   RTWSystemCode   "Auto"
  736.   RTWFcnNameOpts   "Auto"
  737.   RTWFileNameOpts   "Auto"
  738.   System {
  739.     Name     "Subsystem"
  740.     Location     [229, 104, 582, 269]
  741.     Open     off
  742.     ModelBrowserVisibility  off
  743.     ModelBrowserWidth     200
  744.     ScreenColor     "automatic"
  745.     PaperOrientation     "landscape"
  746.     PaperPositionMode     "auto"
  747.     PaperType     "usletter"
  748.     PaperUnits     "inches"
  749.     ZoomFactor     "100"
  750.     AutoZoom     on
  751.     Block {
  752.       BlockType       Inport
  753.       Name       "T 篕"
  754.       Position       [55, 28, 85, 42]
  755.       BackgroundColor       "lightBlue"
  756.       Port       "1"
  757.       Interpolate       on
  758.     }
  759.     Block {
  760.       BlockType       Inport
  761.       Name       "Ga"
  762.       Position       [55, 68, 85, 82]
  763.       BackgroundColor       "lightBlue"
  764.       Port       "2"
  765.       Interpolate       on
  766.     }
  767.     Block {
  768.       BlockType       Inport
  769.       Name       "IRL"
  770.       Position       [55, 98, 85, 112]
  771.       BackgroundColor       "lightBlue"
  772.       Port       "3"
  773.       Interpolate       on
  774.     }
  775.     Block {
  776.       BlockType       Inport
  777.       Name       "FSL"
  778.       Position       [55, 128, 85, 142]
  779.       BackgroundColor       "lightBlue"
  780.       Port       "4"
  781.       Interpolate       on
  782.     }
  783.     Block {
  784.       BlockType       Fcn
  785.       Name       "N"
  786.       Position       [175, 20, 210, 50]
  787.       Expr       "-228.6 + 10*log10(u)"
  788.     }
  789.     Block {
  790.       BlockType       Sum
  791.       Name       "Sum"
  792.       Ports       [2, 1]
  793.       Position       [240, 60, 260, 80]
  794.       ShowName       off
  795.       IconShape       "round"
  796.       Inputs       "-+"
  797.       SaturateOnIntegerOverflow on
  798.     }
  799.     Block {
  800.       BlockType       Sum
  801.       Name       "Sum3"
  802.       Ports       [3, 1]
  803.       Position       [120, 61, 135, 149]
  804.       ShowName       off
  805.       IconShape       "rectangular"
  806.       Inputs       "++-"
  807.       SaturateOnIntegerOverflow on
  808.     }
  809.     Block {
  810.       BlockType       Outport
  811.       Name       "C/N"
  812.       Position       [295, 63, 325, 77]
  813.       BackgroundColor       "orange"
  814.       Port       "1"
  815.       OutputWhenDisabled      "held"
  816.       InitialOutput       "[]"
  817.     }
  818.     Line {
  819.       SrcBlock       "Sum3"
  820.       SrcPort       1
  821.       Points       [110, 0]
  822.       DstBlock       "Sum"
  823.       DstPort       2
  824.     }
  825.     Line {
  826.       SrcBlock       "Ga"
  827.       SrcPort       1
  828.       DstBlock       "Sum3"
  829.       DstPort       1
  830.     }
  831.     Line {
  832.       SrcBlock       "IRL"
  833.       SrcPort       1
  834.       DstBlock       "Sum3"
  835.       DstPort       2
  836.     }
  837.     Line {
  838.       SrcBlock       "FSL"
  839.       SrcPort       1
  840.       DstBlock       "Sum3"
  841.       DstPort       3
  842.     }
  843.     Line {
  844.       SrcBlock       "T 篕"
  845.       SrcPort       1
  846.       DstBlock       "N"
  847.       DstPort       1
  848.     }
  849.     Line {
  850.       SrcBlock       "N"
  851.       SrcPort       1
  852.       Points       [35, 0]
  853.       DstBlock       "Sum"
  854.       DstPort       1
  855.     }
  856.     Line {
  857.       SrcBlock       "Sum"
  858.       SrcPort       1
  859.       DstBlock       "C/N"
  860.       DstPort       1
  861.     }
  862.   }
  863. }
  864. Block {
  865.   BlockType   SubSystem
  866.   Name   "Subsystem1"
  867.   Ports   [2, 1]
  868.   Position   [175, 25, 215, 85]
  869.   BackgroundColor   "red"
  870.   ShowName   off
  871.   ShowPortLabels   on
  872.   TreatAsAtomicUnit   off
  873.   RTWSystemCode   "Auto"
  874.   RTWFcnNameOpts   "Auto"
  875.   RTWFileNameOpts   "Auto"
  876.   System {
  877.     Name     "Subsystem1"
  878.     Location     [241, 115, 764, 274]
  879.     Open     off
  880.     ModelBrowserVisibility  off
  881.     ModelBrowserWidth     200
  882.     ScreenColor     "automatic"
  883.     PaperOrientation     "landscape"
  884.     PaperPositionMode     "auto"
  885.     PaperType     "usletter"
  886.     PaperUnits     "inches"
  887.     ZoomFactor     "100"
  888.     AutoZoom     on
  889.     Block {
  890.       BlockType       Inport
  891.       Name       "Lat"
  892.       Position       [25, 28, 55, 42]
  893.       BackgroundColor       "lightBlue"
  894.       Port       "1"
  895.       Interpolate       on
  896.     }
  897.     Block {
  898.       BlockType       Inport
  899.       Name       "Beta"
  900.       Position       [25, 88, 55, 102]
  901.       BackgroundColor       "lightBlue"
  902.       Port       "2"
  903.       Interpolate       on
  904.     }
  905.     Block {
  906.       BlockType       Gain
  907.       Name       "Gain3"
  908.       Position       [215, 20, 245, 50]
  909.       ShowName       off
  910.       Gain       "-1"
  911.       Multiplication       "Element-wise(K.*u)"
  912.       SaturateOnIntegerOverflow on
  913.     }
  914.     Block {
  915.       BlockType       Product
  916.       Name       "Product1"
  917.       Ports       [2, 1]
  918.       Position       [280, 46, 325, 79]
  919.       ShowName       off
  920.       Inputs       "*/"
  921.       Multiplication       "Element-wise(.*)"
  922.       SaturateOnIntegerOverflow on
  923.     }
  924.     Block {
  925.       BlockType       Trigonometry
  926.       Name       "TrigonometricnFunction"
  927.       Ports       [1, 1]
  928.       Position       [150, 20, 180, 50]
  929.       ShowName       off
  930.       Operator       "tan"
  931.       OutputSignalType       "auto"
  932.     }
  933.     Block {
  934.       BlockType       Trigonometry
  935.       Name       "TrigonometricnFunction1"
  936.       Ports       [1, 1]
  937.       Position       [150, 80, 180, 110]
  938.       ShowName       off
  939.       Operator       "tan"
  940.       OutputSignalType       "auto"
  941.     }
  942.     Block {
  943.       BlockType       Trigonometry
  944.       Name       "TrigonometricnFunction2"
  945.       Ports       [1, 1]
  946.       Position       [350, 50, 380, 80]
  947.       ShowName       off
  948.       Operator       "acos"
  949.       OutputSignalType       "auto"
  950.     }
  951.     Block {
  952.       BlockType       Gain
  953.       Name       "k1"
  954.       Position       [85, 20, 115, 50]
  955.       Gain       "pi/180"
  956.       Multiplication       "Element-wise(K.*u)"
  957.       SaturateOnIntegerOverflow on
  958.     }
  959.     Block {
  960.       BlockType       Gain
  961.       Name       "k2"
  962.       Position       [85, 80, 115, 110]
  963.       Gain       "pi/180"
  964.       Multiplication       "Element-wise(K.*u)"
  965.       SaturateOnIntegerOverflow on
  966.     }
  967.     Block {
  968.       BlockType       Gain
  969.       Name       "k3"
  970.       Position       [410, 50, 440, 80]
  971.       Gain       "180/pi"
  972.       Multiplication       "Element-wise(K.*u)"
  973.       SaturateOnIntegerOverflow on
  974.     }
  975.     Block {
  976.       BlockType       Outport
  977.       Name       "A"
  978.       Position       [475, 58, 505, 72]
  979.       BackgroundColor       "orange"
  980.       Port       "1"
  981.       OutputWhenDisabled      "held"
  982.       InitialOutput       "[]"
  983.     }
  984.     Line {
  985.       SrcBlock       "Product1"
  986.       SrcPort       1
  987.       DstBlock       "TrigonometricnFunction2"
  988.       DstPort       1
  989.     }
  990.     Line {
  991.       SrcBlock       "TrigonometricnFunction2"
  992.       SrcPort       1
  993.       DstBlock       "k3"
  994.       DstPort       1
  995.     }
  996.     Line {
  997.       SrcBlock       "Lat"
  998.       SrcPort       1
  999.       DstBlock       "k1"
  1000.       DstPort       1
  1001.     }
  1002.     Line {
  1003.       SrcBlock       "TrigonometricnFunction1"
  1004.       SrcPort       1
  1005.       Points       [80, 0]
  1006.       DstBlock       "Product1"
  1007.       DstPort       2
  1008.     }
  1009.     Line {
  1010.       SrcBlock       "TrigonometricnFunction"
  1011.       SrcPort       1
  1012.       DstBlock       "Gain3"
  1013.       DstPort       1
  1014.     }
  1015.     Line {
  1016.       SrcBlock       "Gain3"
  1017.       SrcPort       1
  1018.       Points       [15, 0]
  1019.       DstBlock       "Product1"
  1020.       DstPort       1
  1021.     }
  1022.     Line {
  1023.       SrcBlock       "Beta"
  1024.       SrcPort       1
  1025.       DstBlock       "k2"
  1026.       DstPort       1
  1027.     }
  1028.     Line {
  1029.       SrcBlock       "k1"
  1030.       SrcPort       1
  1031.       DstBlock       "TrigonometricnFunction"
  1032.       DstPort       1
  1033.     }
  1034.     Line {
  1035.       SrcBlock       "k2"
  1036.       SrcPort       1
  1037.       DstBlock       "TrigonometricnFunction1"
  1038.       DstPort       1
  1039.     }
  1040.     Line {
  1041.       SrcBlock       "k3"
  1042.       SrcPort       1
  1043.       DstBlock       "A"
  1044.       DstPort       1
  1045.     }
  1046.   }
  1047. }
  1048. Block {
  1049.   BlockType   Sum
  1050.   Name   "Sum"
  1051.   Ports   [3, 1]
  1052.   Position   [250, 330, 265, 420]
  1053.   ShowName   off
  1054.   IconShape   "rectangular"
  1055.   Inputs   "+|+|-"
  1056.   SaturateOnIntegerOverflow on
  1057. }
  1058. Block {
  1059.   BlockType   Sum
  1060.   Name   "Sum1"
  1061.   Ports   [2, 1]
  1062.   Position   [390, 318, 405, 362]
  1063.   ShowName   off
  1064.   IconShape   "rectangular"
  1065.   Inputs   "-+"
  1066.   SaturateOnIntegerOverflow on
  1067. }
  1068. Block {
  1069.   BlockType   Outport
  1070.   Name   "A"
  1071.   Position   [290, 48, 320, 62]
  1072.   BackgroundColor   "orange"
  1073.   FontName   "Arial"
  1074.   FontSize   11
  1075.   FontWeight   "bold"
  1076.   FontAngle   "italic"
  1077.   Port   "1"
  1078.   OutputWhenDisabled   "held"
  1079.   InitialOutput   "[]"
  1080. }
  1081. Block {
  1082.   BlockType   Outport
  1083.   Name   "Beta"
  1084.   Position   [290, 108, 320, 122]
  1085.   BackgroundColor   "orange"
  1086.   FontName   "Arial"
  1087.   FontSize   11
  1088.   FontWeight   "bold"
  1089.   FontAngle   "italic"
  1090.   Port   "2"
  1091.   OutputWhenDisabled   "held"
  1092.   InitialOutput   "[]"
  1093. }
  1094. Block {
  1095.   BlockType   Outport
  1096.   Name   "d"
  1097.   Position   [290, 153, 320, 167]
  1098.   BackgroundColor   "orange"
  1099.   FontName   "Arial"
  1100.   FontSize   11
  1101.   FontWeight   "bold"
  1102.   FontAngle   "italic"
  1103.   Port   "3"
  1104.   OutputWhenDisabled   "held"
  1105.   InitialOutput   "[]"
  1106. }
  1107. Block {
  1108.   BlockType   Outport
  1109.   Name   "C/N"
  1110.   Position   [560, 168, 590, 182]
  1111.   BackgroundColor   "orange"
  1112.   FontName   "Arial"
  1113.   FontSize   11
  1114.   FontWeight   "bold"
  1115.   FontAngle   "italic"
  1116.   Port   "4"
  1117.   OutputWhenDisabled   "held"
  1118.   InitialOutput   "[]"
  1119. }
  1120. Block {
  1121.   BlockType   Outport
  1122.   Name   "FLS"
  1123.   Position   [380, 223, 410, 237]
  1124.   BackgroundColor   "orange"
  1125.   FontName   "Arial"
  1126.   FontSize   11
  1127.   FontWeight   "bold"
  1128.   FontAngle   "italic"
  1129.   Port   "5"
  1130.   OutputWhenDisabled   "held"
  1131.   InitialOutput   "[]"
  1132. }
  1133. Block {
  1134.   BlockType   Outport
  1135.   Name   "IRL"
  1136.   Position   [470, 333, 500, 347]
  1137.   BackgroundColor   "orange"
  1138.   FontName   "Arial"
  1139.   FontSize   11
  1140.   FontWeight   "bold"
  1141.   FontAngle   "italic"
  1142.   Port   "6"
  1143.   OutputWhenDisabled   "held"
  1144.   InitialOutput   "[]"
  1145. }
  1146. Block {
  1147.   BlockType   Outport
  1148.   Name   "PIRE"
  1149.   Position   [320, 368, 350, 382]
  1150.   BackgroundColor   "orange"
  1151.   FontName   "Arial"
  1152.   FontSize   11
  1153.   FontWeight   "bold"
  1154.   FontAngle   "italic"
  1155.   Port   "7"
  1156.   OutputWhenDisabled   "held"
  1157.   InitialOutput   "[]"
  1158. }
  1159. Line {
  1160.   SrcBlock   "Distancia"
  1161.   SrcPort   1
  1162.   Points   [10, 0]
  1163.   Branch {
  1164.     DstBlock     "d"
  1165.     DstPort     1
  1166.   }
  1167.   Branch {
  1168.     Points     [0, 55]
  1169.     DstBlock     "FLS1"
  1170.     DstPort     1
  1171.   }
  1172. }
  1173. Line {
  1174.   SrcBlock   "Beta "
  1175.   SrcPort   1
  1176.   Points   [-5, 0; 15, 0]
  1177.   Branch {
  1178.     DstBlock     "Distancia"
  1179.     DstPort     1
  1180.   }
  1181.   Branch {
  1182.     Points     [0, -45]
  1183.     Branch {
  1184.       Points       [0, 0]
  1185.       DstBlock       "Beta"
  1186.       DstPort       1
  1187.     }
  1188.     Branch {
  1189.       Points       [0, -45]
  1190.       DstBlock       "Subsystem1"
  1191.       DstPort       2
  1192.     }
  1193.   }
  1194. }
  1195. Line {
  1196.   SrcBlock   "Subsystem1"
  1197.   SrcPort   1
  1198.   DstBlock   "A"
  1199.   DstPort   1
  1200. }
  1201. Line {
  1202.   SrcBlock   "Lat"
  1203.   SrcPort   1
  1204.   Points   [0, 0; 15, 0]
  1205.   Branch {
  1206.     DstBlock     "Beta "
  1207.     DstPort     1
  1208.   }
  1209.   Branch {
  1210.     Points     [0, -105]
  1211.     DstBlock     "Subsystem1"
  1212.     DstPort     1
  1213.   }
  1214. }
  1215. Line {
  1216.   SrcBlock   "Long"
  1217.   SrcPort   1
  1218.   DstBlock   "Beta "
  1219.   DstPort   2
  1220. }
  1221. Line {
  1222.   SrcBlock   "FLS1"
  1223.   SrcPort   1
  1224.   Points   [-5, 0; 15, 0]
  1225.   Branch {
  1226.     Points     [0, 100]
  1227.     DstBlock     "Sum1"
  1228.     DstPort     1
  1229.   }
  1230.   Branch {
  1231.     DstBlock     "FLS"
  1232.     DstPort     1
  1233.   }
  1234.   Branch {
  1235.     Points     [0, -25]
  1236.     DstBlock     "Subsystem"
  1237.     DstPort     4
  1238.   }
  1239. }
  1240. Line {
  1241.   SrcBlock   "Sum"
  1242.   SrcPort   1
  1243.   Points   [0, 0; 20, 0]
  1244.   Branch {
  1245.     DstBlock     "PIRE"
  1246.     DstPort     1
  1247.   }
  1248.   Branch {
  1249.     Points     [0, -25]
  1250.     DstBlock     "Sum1"
  1251.     DstPort     2
  1252.   }
  1253. }
  1254. Line {
  1255.   SrcBlock   "Sum1"
  1256.   SrcPort   1
  1257.   Points   [40, 0]
  1258.   Branch {
  1259.     DstBlock     "IRL"
  1260.     DstPort     1
  1261.   }
  1262.   Branch {
  1263.     Points     [0, -155]
  1264.     DstBlock     "Subsystem"
  1265.     DstPort     3
  1266.   }
  1267. }
  1268. Line {
  1269.   SrcBlock   "T"
  1270.   SrcPort   1
  1271.   DstBlock   "Subsystem"
  1272.   DstPort   1
  1273. }
  1274. Line {
  1275.   SrcBlock   "Subsystem"
  1276.   SrcPort   1
  1277.   DstBlock   "C/N"
  1278.   DstPort   1
  1279. }
  1280. Line {
  1281.   SrcBlock   "Freq"
  1282.   SrcPort   1
  1283.   DstBlock   "FLS1"
  1284.   DstPort   2
  1285. }
  1286. Line {
  1287.   SrcBlock   "Lmisc"
  1288.   SrcPort   1
  1289.   Points   [25, 0]
  1290.   DstBlock   "Sum"
  1291.   DstPort   3
  1292. }
  1293. Line {
  1294.   SrcBlock   "PTx"
  1295.   SrcPort   1
  1296.   DstBlock   "Sum"
  1297.   DstPort   2
  1298. }
  1299. Line {
  1300.   SrcBlock   "Ga"
  1301.   SrcPort   1
  1302.   Points   [0, 0; 20, 0]
  1303.   Branch {
  1304.     Points     [5, 0]
  1305.     DstBlock     "Sum"
  1306.     DstPort     1
  1307.   }
  1308.   Branch {
  1309.     Points     [0, -50; 205, 0; 0, -130]
  1310.     DstBlock     "Subsystem"
  1311.     DstPort     2
  1312.   }
  1313. }
  1314.       }
  1315.     }
  1316.     Block {
  1317.       BlockType       Constant
  1318.       Name       "T [篕]1"
  1319.       Position       [75, 220, 150, 240]
  1320.       BackgroundColor       "darkGreen"
  1321.       FontName       "Arial"
  1322.       FontSize       11
  1323.       FontWeight       "bold"
  1324.       Value       "0"
  1325.       VectorParams1D       on
  1326.     }
  1327.     Line {
  1328.       SrcBlock       "Subsystem"
  1329.       SrcPort       1
  1330.       DstBlock       "Azimut [篯"
  1331.       DstPort       1
  1332.     }
  1333.     Line {
  1334.       SrcBlock       "Subsystem"
  1335.       SrcPort       4
  1336.       DstBlock       "C/No [dB]"
  1337.       DstPort       1
  1338.     }
  1339.     Line {
  1340.       SrcBlock       "Subsystem"
  1341.       SrcPort       5
  1342.       DstBlock       "FLS [dB]"
  1343.       DstPort       1
  1344.     }
  1345.     Line {
  1346.       SrcBlock       "Subsystem"
  1347.       SrcPort       7
  1348.       DstBlock       "PIRE [dB]"
  1349.       DstPort       1
  1350.     }
  1351.     Line {
  1352.       SrcBlock       "Subsystem"
  1353.       SrcPort       3
  1354.       DstBlock       "Distancia n[km]n"
  1355.       DstPort       1
  1356.     }
  1357.     Line {
  1358.       SrcBlock       "Subsystem"
  1359.       SrcPort       2
  1360.       DstBlock       "Beta [篯"
  1361.       DstPort       1
  1362.     }
  1363.     Line {
  1364.       SrcBlock       "Subsystem"
  1365.       SrcPort       6
  1366.       DstBlock       "IRL [dBW]"
  1367.       DstPort       1
  1368.     }
  1369.     Line {
  1370.       SrcBlock       "Ganancia Antenan[dB]"
  1371.       SrcPort       1
  1372.       DstBlock       "Subsystem"
  1373.       DstPort       7
  1374.     }
  1375.     Line {
  1376.       SrcBlock       "Latitud [篯"
  1377.       SrcPort       1
  1378.       DstBlock       "Subsystem"
  1379.       DstPort       1
  1380.     }
  1381.     Line {
  1382.       SrcBlock       "T [篕]1"
  1383.       SrcPort       1
  1384.       DstBlock       "Subsystem"
  1385.       DstPort       3
  1386.     }
  1387.     Line {
  1388.       SrcBlock       "Frecuencian[Mhz]"
  1389.       SrcPort       1
  1390.       DstBlock       "Subsystem"
  1391.       DstPort       4
  1392.     }
  1393.     Line {
  1394.       SrcBlock       "PotenciaTx [W]"
  1395.       SrcPort       1
  1396.       DstBlock       "Subsystem"
  1397.       DstPort       5
  1398.     }
  1399.     Line {
  1400.       SrcBlock       "Lmisc [dB]"
  1401.       SrcPort       1
  1402.       DstBlock       "Subsystem"
  1403.       DstPort       6
  1404.     }
  1405.     Line {
  1406.       SrcBlock       "Longitud [篯"
  1407.       SrcPort       1
  1408.       DstBlock       "Subsystem"
  1409.       DstPort       2
  1410.     }
  1411.   }
  1412. }